update : 2015.11.03
php.shukuma.com검색:
|
token_get_all(PHP 4 >= 4.2.0, PHP 5) token_get_all — Split given source into PHP tokens 설명
array token_get_all
( string
$source
)
token_get_all() parses the given For a list of parser tokens, see List of Parser Tokens, or use token_name() to translate a token value into its string representation. 인수
반환값An array of token identifiers. Each individual token identifier is either a single character (i.e.: ;, ., >, !, etc...), or a three element array containing the token index in element 0, the string content of the original token in element 1 and the line number in element 2. 예제
Example #1 token_get_all() examples
<?php 변경점
|