Home
last modified time | relevance | path

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

12

/PHP-5.4/ext/tokenizer/tests/
H A Dtoken_get_all_variation14.phpt14 * unknown tokens - T_UNKNOWN(307)
17 echo "*** Testing token_get_all() : with invalid/unknown tokens ***\n";
19 // with valid php tags and invalid tokens
20 echo "-- with valid PHP tags & invlid tokens --\n";
30 echo "-- with invlalid PHP open tag & valid tokens --\n";
35 // with invalid PHP tags and invalid tokens
36 echo "-- with invalid PHP tags and tokens --\n";
43 *** Testing token_get_all() : with invalid/unknown tokens ***
44 -- with valid PHP tags & invlid tokens --
257 -- with invlalid PHP open tag & valid tokens --
[all …]
H A Dtoken_get_all_variation11.phpt2 Test token_get_all() function : usage variations - with control structure tokens
24 echo "*** Testing token_get_all() : for control structure tokens ***\n";
27 echo "-- with if..elseif..else..tokens --\n";
43 echo "-- with while..., do..while, switch & continue tokens --\n";
56 echo "-- with for..foreach( as ) tokens --\n";
68 echo "-- with switch...case tokens --\n";
79 *** Testing token_get_all() : for control structure tokens ***
80 -- with if..elseif..else..tokens --
442 -- with while..., do..while, switch & continue tokens --
664 -- with for..foreach( as ) tokens --
[all …]
H A Dbug54089.phpt16 $tokens = token_get_all($code);
17 var_dump($tokens);
20 foreach ($tokens as $t)
H A Dtoken_get_all_variation10.phpt2 Test token_get_all() function : usage variations - with constant tokens
8 * Description: splits the given source into an array of PHP languange tokens
17 * bool const (no tokens specified) - T_UNKNOWN(307)
18 * null const (no tokens specified) - T_UNKNOWN(307)
H A Dtoken_get_all_variation17.phpt8 * Description: splits the given source into an array of PHP languange tokens
36 $tokens = token_get_all($source);
37 var_dump($tokens);
H A Dtoken_get_all_variation12.phpt8 * Description: splits the given source into an array of PHP language tokens
31 // parsing __CLASS__, __TRAIT__ and __FUNCTION__ tokens
44 // parsing __LINE__ and __METHOD__ tokens
H A Dtoken_get_all_variation2.phpt8 * Description: splits the given source into an array of PHP languange tokens
14 * Arithmetic operators: +, -, *, /, % are not listed as specific operator tokens,
H A Dtoken_get_all_error.phpt8 * Description: splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation18.phpt8 * Description: splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation16.phpt8 * Description: splits the given source into an array of PHP languange tokens
53 $tokens = token_get_all($source);
54 var_dump($tokens);
H A Dtoken_get_all_variation3.phpt8 * Description: splits the given source into an array of PHP languange tokens
13 * Passing 'source' argument with different logical operators to test them for tokens
H A Dtoken_get_all_basic.phpt8 * Description : splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation13.phpt8 * Description: splits the given source into an array of PHP languange tokens
53 $tokens = token_get_all($source);
54 var_dump($tokens);
H A Dtoken_get_all_variation4.phpt8 * Description: splits the given source into an array of PHP languange tokens
13 * Passing 'source' argument with different comparison operators to test them for tokens
H A Dtoken_get_all_variation5.phpt8 * Description: splits the given source into an array of PHP languange tokens
13 * Passing 'source' argument with different assignment operators to test them for tokens
H A Dtoken_get_all_variation7.phpt8 * Description: splits the given source into an array of PHP languange tokens
H A Dtoken_get_all_variation6.phpt8 * Description: splits the given source into an array of PHP languange tokens
/PHP-5.4/ext/tokenizer/
H A Dtokenizer.php13 $tokens = token_get_all($content); variable
15 $count = count($tokens);
18 $token = $tokens[$i];
/PHP-5.4/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.4/scripts/dev/
H A Dfind_tested.php204 $tokens = token_get_all($r[1]);
205 $functions = array_filter($tokens, 'filter_functions');

Completed in 27 milliseconds

12