--TEST-- Extending the PhpToken class --EXTENSIONS-- tokenizer --FILE-- text); } } foreach (MyPhpToken::tokenize($code) as $token) { echo $token->getLoweredText(); if ($token->extra !== 123) { echo "Missing property!\n"; } } ?> --EXPECT--