Tokenizer weirdness

From: Date: Wed, 22 May 2002 19:54:57 +0000
Subject: Tokenizer weirdness
Groups: php.dev 
Request: Send a blank email to php-dev+get-84278@lists.php.net to get a copy of this message
Why do I get Array ( [0] => Array ( [0] => T_OPEN_TAG [1] => Array ( [0] => T_STRING [1] => phpinfo ) [2] => ( [3] => ) [4] => ; [5] => Array ( [0] => T_WHITESPACE [1] => ) [6] => Array ( [0] => T_CLOSE_TAG [1] => ?> ) ) as tokens for <?php phpinfo(); ?> Note that array index [1] is missing. (It's not reallymissing, just put under [0], not the 'root') -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

« previous php.dev (#84278) next »