/PHP-7.4/Zend/ |
H A D | zend_language_parser.y | 92 %token <ast> T_INLINE_HTML 98 %token END 0 "end of file" 131 %token T_SL "<< (T_SL)" 132 %token T_SR ">> (T_SR)" 134 %token T_INC "++ (T_INC)" 135 %token T_DEC "-- (T_DEC)" 146 %token T_IF "if (T_IF)" 151 %token T_DO "do (T_DO)" 160 %token T_AS "as (T_AS)" 169 %token T_FN "fn (T_FN)" [all …]
|
H A D | zend_highlight.c | 86 zval token; in zend_highlight() local 123 ZVAL_UNDEF(&token); in zend_highlight() 147 if (Z_TYPE(token) == IS_STRING) { in zend_highlight() 157 zval_ptr_dtor_str(&token); in zend_highlight() 161 ZVAL_UNDEF(&token); in zend_highlight() 176 zval token; in zend_strip() local 190 ZVAL_UNDEF(&token); in zend_strip() 201 ZVAL_UNDEF(&token); in zend_strip() 209 if (Z_TYPE(token) == IS_STRING) { in zend_strip() 220 zval_ptr_dtor_str(&token); in zend_strip() [all …]
|
H A D | zend_ini_parser.y | 296 %token TC_SECTION 297 %token TC_RAW 298 %token TC_CONSTANT 299 %token TC_NUMBER 300 %token TC_STRING 302 %token TC_LABEL 303 %token TC_OFFSET 305 %token TC_VARNAME 307 %token BOOL_TRUE 308 %token BOOL_FALSE [all …]
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_parser.y | 42 %token T_EVAL "eval" 43 %token T_RUN "run" 44 %token T_SHELL "shell" 45 %token T_IF "if (condition)" 49 %token T_COLON ": (colon)" 52 %token T_SEPARATOR "# (pound sign)" 54 %token T_DIGITS "digits (numbers)" 55 %token T_LITERAL "literal (string)" 56 %token T_ADDR "address" 57 %token T_OPCODE "opcode" [all …]
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strtok_basic.phpt | 5 /* Prototype : string strtok ( str $str, str $token ) 6 …ring (str) into smaller strings (tokens), with each token being delimited by any character from to… 18 $token = ' ().'; 21 echo "\nThe token string is:\n\"$token\"\n"; 25 var_dump( strtok($str, $token) ); 29 var_dump( strtok($token) ); 40 The token string is:
|
H A D | strtok_variation6.phpt | 5 /* Prototype : string strtok ( str $str, str $token ) 6 …ring (str) into smaller strings (tokens), with each token being delimited by any character from to… 11 * Testing strtok() : with invalid escape sequences in token 14 echo "*** Testing strtok() : with invalid escape sequences in token ***\n"; 32 // when supplied with different string and token values 37 foreach( $token_array as $token ) { 38 var_dump( strtok($string, $token) ); 40 var_dump( strtok($token) ); 51 *** Testing strtok() : with invalid escape sequences in token ***
|
H A D | strtok_variation7.phpt | 5 /* Prototype : string strtok ( str $str, str $token ) 6 …ring (str) into smaller strings (tokens), with each token being delimited by any character from to… 17 $token = " "; 20 var_dump( strtok($str, $token) ); 25 var_dump( strtok($token) ); 30 var_dump( strtok($str, $token) ); 35 var_dump( strtok($token) );
|
H A D | strtok_variation5.phpt | 5 /* Prototype : string strtok ( str $str, str $token ) 6 …ring (str) into smaller strings (tokens), with each token being delimited by any character from to… 11 * Testing strtok() : with miscellaneous combinations of string and token 45 // when supplied with different string and token values
|
/PHP-7.4/ext/phar/ |
H A D | makestub.php | 6 foreach (token_get_all($s) as $token) { 7 if (is_array($token)) { 8 if ($token[0] == T_COMMENT) { 9 $token[1] = ''; 11 if ($token[0] == T_WHITESPACE) { 12 $n = str_repeat("\n", substr_count($token[1], "\n")); 13 $token[1] = strlen($n) ? $n : ' '; 15 $news .= $token[1]; 17 $news .= $token;
|
/PHP-7.4/ext/tokenizer/ |
H A D | tokenizer.c | 52 ZEND_ARG_INFO(0, token) 133 zval token; in tokenize() local 149 while ((token_type = lex_scan(&token, NULL))) { in tokenize() 152 if (Z_TYPE(token) != IS_UNDEF) { in tokenize() 153 zval_ptr_dtor_nogc(&token); in tokenize() 154 ZVAL_UNDEF(&token); in tokenize() 197 if (token == END) break; in on_event() 199 if (token == ';' && LANG_SCNG(yy_leng) > 1) { /* ?> or ?>\n or ?>\r\n */ in on_event() 200 token = T_CLOSE_TAG; in on_event() 202 token = T_OPEN_TAG_WITH_ECHO; in on_event() [all …]
|
/PHP-7.4/ext/tokenizer/tests/ |
H A D | bug76991.phpt | 18 foreach (token_get_all($code) as $token) { 19 if (is_array($token)) { 20 echo token_name($token[0]) . ": " .str_replace("\n", '\n', $token[1]); 22 echo $token;
|
H A D | php_tag_only.phpt | 10 foreach (token_get_all("<?php") as $token) { 11 echo token_name($token[0]), "\n"; 14 foreach (token_get_all("Foobar<?php") as $token) { 15 echo token_name($token[0]), "\n";
|
H A D | php_tag_only_2.phpt | 10 foreach (token_get_all("<?php") as $token) { 11 echo token_name($token[0]), "\n"; 14 foreach (token_get_all("Foobar<?php") as $token) { 15 echo token_name($token[0]), "\n";
|
H A D | token_get_all_variation19.phpt | 36 // reconstruct a script (without open/close tags) from the token array 37 foreach ($token_array as $token) { 38 if (is_array($token)) { 39 if (strncmp($token[1], '<?php', 5) == 0) { 42 if (strncmp($token[1], '?>', 2) == 0) { 45 $script .= $token[1]; 47 $script .= $token;
|
H A D | parse_errors.phpt | 15 foreach (token_get_all($code) as $token) { 16 if (is_array($token)) { 17 echo token_name($token[0]), " ($token[1])\n"; 19 echo "$token\n";
|
H A D | bad_character.phpt | 15 foreach (token_get_all($code) as $token) { 16 if (is_array($token)) { 17 echo token_name($token[0]), " ", strlen($token[1]), "\n"; 19 echo $token, "\n";
|
/PHP-7.4/ext/json/ |
H A D | json_parser.y | 59 %token <value> PHP_JSON_T_NUL 60 %token <value> PHP_JSON_T_TRUE 61 %token <value> PHP_JSON_T_FALSE 62 %token <value> PHP_JSON_T_INT 63 %token <value> PHP_JSON_T_DOUBLE 64 %token <value> PHP_JSON_T_STRING 65 %token <value> PHP_JSON_T_ESTRING 66 %token PHP_JSON_T_EOI 67 %token PHP_JSON_T_ERROR 277 int token = php_json_scan(&parser->scanner); in php_json_yylex() local [all …]
|
/PHP-7.4/win32/ |
H A D | sendmail.c | 445 while (token != NULL) in SendText() 447 SMTP_SKIP_SPACE(token); in SendText() 458 token = find_address(NULL, &token_state); in SendText() 466 while (token != NULL) in SendText() 468 SMTP_SKIP_SPACE(token); in SendText() 506 while (token != NULL) in SendText() 508 SMTP_SKIP_SPACE(token); in SendText() 531 while (token != NULL) in SendText() 533 SMTP_SKIP_SPACE(token); in SendText() 579 while (token != NULL) in SendText() [all …]
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | bug65481.phpt | 33 $token = new Token; 34 $token = serialize($token);
|
H A D | bug73341.phpt | 6 $token = 'a:2:{i:0;O:1:"0":2:0s:1:"0";i:0;s:1:"0";a:1:{i:0;C:11:"ArrayObject":7:{x:i:0;r}'; 7 $obj = unserialize($token);
|
/PHP-7.4/ext/date/tests/ |
H A D | 005.phpt | 29 Warning: idate(): Unrecognized date format token. in %s on line %d 35 Warning: idate(): Unrecognized date format token. in %s on line %d 39 Warning: idate(): Unrecognized date format token. in %s on line %d 42 Warning: idate(): Unrecognized date format token. in %s on line %d
|
/PHP-7.4/ext/opcache/tests/ |
H A D | bug76477.phpt | 14 $token = "ABC"; 15 $lengthBytes = strlenb($token);
|
/PHP-7.4/ext/soap/tests/bugs/ |
H A D | bug50762.phpt | 9 public function authToken($token){ 38 public function __construct($token){ 39 $this->authToken=$token;
|
/PHP-7.4/ext/intl/locale/ |
H A D | locale_methods.c | 1039 char* token = NULL; in add_array_entry() local 1065 while( (token = php_strtok_r(NULL , DELIMITER , &last_ptr)) && (strlen(token)>1) ){ in add_array_entry() 1152 char* token = NULL; in PHP_FUNCTION() local 1186 add_next_index_stringl( return_value, token , strlen(token)); in PHP_FUNCTION() 1188 while( (token = php_strtok_r(NULL , DELIMITER, &saved_ptr)) && (strlen(token)>1) ){ in PHP_FUNCTION() 1189 add_next_index_stringl( return_value, token , strlen(token)); in PHP_FUNCTION() 1249 char* token = 0; in PHP_FUNCTION() local 1326 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() 1328 chrcheck = token + (strlen(cur_loc_range)); in PHP_FUNCTION() 1378 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() [all …]
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_log.c | 102 int token, test; in fpm_log_write() local 141 token = 0; in fpm_log_write() 158 if (!token && *s == '%') { in fpm_log_write() 159 token = 1; in fpm_log_write() 165 if (token) { in fpm_log_write() 166 token = 0; in fpm_log_write() 407 token = 1; in fpm_log_write()
|