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