PHP - Manual: PhpToken::__toString
2024-12-22
(PHP 8)
PhpToken::__toString — Returns the textual content of the token.
Returns the textual content of the token.
此函数没有参数。
A textual content of the token.
示例 #1 PhpToken::__toString() example
<?php
$token = new PhpToken(T_ECHO, 'echo');
echo $token;
以上例程会输出:
echo