Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 25 of 37) sorted by relevance

12

/PHP-5.3/ext/tokenizer/tests/
H A Dtoken_get_all_variation14.phpt12 * unknown tokens - T_UNKNOWN(307)
15 echo "*** Testing token_get_all() : with invalid/unknown tokens ***\n";
17 // with valid php tags and invalid tokens
18 echo "-- with valid PHP tags & invlid tokens --\n";
28 echo "-- with invlalid PHP open tag & valid tokens --\n";
33 // with invalid PHP tags and invalid tokens
34 echo "-- with invalid PHP tags and tokens --\n";
41 *** Testing token_get_all() : with invalid/unknown tokens ***
42 -- with valid PHP tags & invlid tokens --
255 -- with invlalid PHP open tag & valid tokens --
[all …]
H A Dbug54089.phpt8 $tokens = token_get_all($code);
10 var_dump($tokens);
13 foreach ($tokens as $t)
H A Dtoken_get_all_variation11.phpt2 Test token_get_all() function : usage variations - with control structure tokens
6 * Description: splits the given source into an array of PHP languange tokens
25 echo "-- with if..elseif..else..tokens --\n";
41 echo "-- with while..., do..while, switch & continue tokens --\n";
54 echo "-- with for..foreach( as ) tokens --\n";
66 echo "-- with switch...case tokens --\n";
77 *** Testing token_get_all() : for control structure tokens ***
78 -- with if..elseif..else..tokens --
440 -- with while..., do..while, switch & continue tokens --
662 -- with for..foreach( as ) tokens --
[all …]
H A Dtoken_get_all_variation12.phpt6 * Description: splits the given source into an array of PHP languange tokens
28 // parsing __CLASS__ and __FUNCTION__ tokens
40 // parsing __LINE__ and __METHOD__ tokens
H A Dtoken_get_all_variation17.phpt6 * Description: splits the given source into an array of PHP languange tokens
34 $tokens = token_get_all($source);
35 var_dump($tokens);
H A Dtoken_get_all_variation10.phpt2 Test token_get_all() function : usage variations - with constant tokens
6 * Description: splits the given source into an array of PHP languange tokens
15 * bool const (no tokens specified) - T_UNKNOWN(307)
16 * null const (no tokens specified) - T_UNKNOWN(307)
H A Dtoken_get_all_variation2.phpt6 * Description: splits the given source into an array of PHP languange tokens
12 * Arithmetic operators: +, -, *, /, % are not listed as specific operator tokens,
H A Dtoken_get_all_error.phpt6 * Description: splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation3.phpt6 * Description: splits the given source into an array of PHP languange tokens
11 * Passing 'source' argument with different logical operators to test them for tokens
H A Dtoken_get_all_variation18.phpt6 * Description: splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation16.phpt6 * Description: splits the given source into an array of PHP languange tokens
51 $tokens = token_get_all($source);
52 var_dump($tokens);
H A Dtoken_get_all_basic.phpt6 * Description : splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation4.phpt6 * Description: splits the given source into an array of PHP languange tokens
11 * Passing 'source' argument with different comparison operators to test them for tokens
H A Dtoken_get_all_variation13.phpt6 * Description: splits the given source into an array of PHP languange tokens
51 $tokens = token_get_all($source);
52 var_dump($tokens);
H A Dtoken_get_all_variation5.phpt6 * Description: splits the given source into an array of PHP languange tokens
11 * Passing 'source' argument with different assignment operators to test them for tokens
H A Dtoken_get_all_variation7.phpt6 * Description: splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation6.phpt6 * Description: splits the given source into an array of PHP languange tokens
/PHP-5.3/ext/tokenizer/
H A Dtokenizer.php13 $tokens = token_get_all($content); variable
15 $count = count($tokens);
18 $token = $tokens[$i];
/PHP-5.3/ext/standard/tests/strings/
H A Dstrtok_variation6.phpt2 Test strtok() function : usage variations - invalid escape sequences as tokens
6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite…
16 // defining arrays for input strings and tokens
H A Dstrtok_variation5.phpt6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite…
16 // defining arrays for input strings and tokens
H A Dstrtok_basic.phpt6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite…
H A Dstrtok_error.phpt6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite…
H A Dstrtok_variation4.phpt6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite…
H A Dstrtok_variation3.phpt6 …* Description: splits a string (str) into smaller strings (tokens), with each token being delimite…
/PHP-5.3/scripts/dev/
H A Dfind_tested.php204 $tokens = token_get_all($r[1]);
205 $functions = array_filter($tokens, 'filter_functions');

Completed in 59 milliseconds

12