1--TEST-- 2Bug #80462: Nullsafe operator tokenize with TOKEN_PARSE flag fails 3--EXTENSIONS-- 4tokenizer 5--FILE-- 6<?php 7 8foreach (PhpToken::tokenize('<?php $foo = $a?->b();', TOKEN_PARSE) as $token) { 9 echo $token->getTokenName(), "\n"; 10} 11 12?> 13--EXPECT-- 14T_OPEN_TAG 15T_VARIABLE 16T_WHITESPACE 17= 18T_WHITESPACE 19T_VARIABLE 20T_NULLSAFE_OBJECT_OPERATOR 21T_STRING 22( 23) 24; 25