code: function () {
              var match = (/^\( *([a-zA-Z]+) *\)/).exec(source.substr(i));
              return match && match[1] && (match[1].toLowerCase()) in typeCasting ? match : null;
          }
docs: Split given source into PHP tokens + original by: Marco Marchiò + improved by: Brett Zamir (http://brett-zamir.me) - depends on: token_name % note 1: Token numbers depend on the PHP version % note 2: token_name is only necessary for a non-standard php.js-specific use of this function; % note 2: if you define an object on this.php_js.phpParser (where "this" is the scope of the % note 2: token_get_all function (either a namespaced php.js object or the window object)), % note 2: this function will call that object's methods if they have the same names as the tokens, % note 2: passing them the string, line number, and token number (in that order) * example 1: token_get_all('/'+'* comment *'+'/'); * returns 1: [[310, '/* comment */', 1]] Token to number conversion