万千封印
因为它不会增加任何价值echo,我认为您希望了解PHP中的确切含义:Array(
[0] => Array
(
[0] => 368 // T_OPEN_TAG_WITH_ECHO
[1] => <?=
[2] => 1
)
[1] => Array
(
[0] => 309 // T_VARIABLE
[1] => $a [2] => 1
)
[2] => ; // UNKNOWN (because it is optional (ignored))
[3] => Array
(
[0] => 369 // T_CLOSE_TAG
[1] => ?>
[2] => 1
))您可以使用此代码亲自测试它:$tokens = token_get_all('<?=$a;?>');print_r($tokens);foreach($tokens as $token){
echo token_name((int) $token[0]), PHP_EOL;}从解析令牌列表, 以下是T_OPEN_TAG_WITE_ECHO链接到的内容.