« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for MyPhpToken (0.000 sec.)
PhpToken::tokenize — ソースコードを PhpToken オブジェクトで表現されたトークンに... 9414
PhpToken::tokenize (PHP 8) PhpToken::tokenize — ソースコードを PhpToken オブジェクトで表現されたトークンに分割する 説明 public static function PhpToken::tokenize ( string $code , int $flags = 0 ): array 与えられた code を表現する PhpToken オ ... : T_ECHO ('echo') Line 1: ; (';') Line 1: T_WHITESPACE (' ') Line 1: T_CLOSE_TAG ('?>') 例2 Extending PhpToken <?php class MyPhpToken extends PhpToken { public function getUpperText () { return strtoupper ( $this -> text ); } } $tokens = MyPhpToken :: toke ...
https://man.mtool.work/php/8.3/phptoken.tokenize.html
PREV 1 NEXT