Home
last modified time | relevance | path

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

12

/PHP-7.2/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 Dtoken_get_all_TOKEN_PARSE_002.phpt7 $tokens = token_get_all('<?php
15 array_walk($tokens, function($tk) {
H A Dbug54089.phpt16 $tokens = token_get_all($code);
17 var_dump($tokens);
20 foreach ($tokens as $t)
H A Dtoken_get_all_TOKEN_PARSE_001.phpt7 $tokens = token_get_all('<?php
22 array_walk($tokens, function($tk) {
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_basic.phpt8 * Description : splits the given source into an array of PHP languange 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_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_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
/PHP-7.2/ext/tokenizer/
H A Dtokenizer.php13 $tokens = token_get_all($content); variable
15 $count = count($tokens);
18 $token = $tokens[$i];
/PHP-7.2/Zend/tests/
H A Dbug69758.phpt5 $tokens = array();
8 $tokens[$i] = $conditions;
/PHP-7.2/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…
/PHP-7.2/scripts/dev/
H A Dfind_tested.php210 $tokens = token_get_all($r[1]);
211 $functions = array_filter($tokens, 'filter_functions');
/PHP-7.2/ext/filter/
H A Dlogical_filters.c869 int tokens, length, i, offset, exp_separator_set; in php_filter_validate_mac() local
887 tokens = 3; in php_filter_validate_mac()
892 tokens = 6; in php_filter_validate_mac()
897 tokens = 6; in php_filter_validate_mac()
912 for (i = 0; i < tokens; i++) { in php_filter_validate_mac()
915 if (i < tokens - 1 && input[offset + length] != separator) { in php_filter_validate_mac()
/PHP-7.2/appveyor/
H A Dbuild.bat26 for /f "tokens=*" %%a in ('type %PHP_BUILD_CACHE_SDK_DIR%\VERSION') do set GOT_SDK_VER=%%a

Completed in 73 milliseconds

12