/php-src/ext/tokenizer/tests/ |
H A D | bug77966.phpt | 18 foreach ($tokens as $token) { 19 echo "{$token->getTokenName()}: \"$token->text\"\n";
|
H A D | bug80462.phpt | 8 foreach (PhpToken::tokenize('<?php $foo = $a?->b();', TOKEN_PARSE) as $token) { 9 echo $token->getTokenName(), "\n";
|
/php-src/ext/standard/tests/serialize/ |
H A D | bug73341.phpt | 6 $token = 'a:2:{i:0;O:1:"0":2:{s:1:"0";i:0;s:1:"0";a:1:{i:0;C:11:"ArrayObject":7:{x:i:0;r}'; 7 $obj = unserialize($token); 13 $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}'; 14 $obj = unserialize($token);
|
H A D | bug65481.phpt | 32 $token = new Token; 33 $token = serialize($token);
|
/php-src/ext/json/ |
H A D | json_parser.y | 53 %token <value> PHP_JSON_T_NUL 54 %token <value> PHP_JSON_T_TRUE 55 %token <value> PHP_JSON_T_FALSE 56 %token <value> PHP_JSON_T_INT 57 %token <value> PHP_JSON_T_DOUBLE 58 %token <value> PHP_JSON_T_STRING 59 %token <value> PHP_JSON_T_ESTRING 60 %token PHP_JSON_T_EOI 61 %token PHP_JSON_T_ERROR 282 int token = php_json_scan(&parser->scanner); in php_json_yylex() local [all …]
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_encoding_unicode_error.phpt | 17 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d 19 Warning: Dom\HTMLDocument::createFromFile(): tree error unexpected-token in %s on line %d 24 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 7, colu… 26 Warning: Dom\HTMLDocument::createFromString(): tree error unexpected-token in Entity, line: 8, colu…
|
/php-src/sapi/cli/tests/ |
H A D | 024.phpt | 73 [2] => Parse error: syntax error, unexpected token "private", expecting "{" in %s on line %d 81 [1] => Parse error: syntax error, unexpected token "private", expecting "{" in %s on line %d 84 [4] => Parse error: syntax error, unexpected token "private", expecting "{" in %s on line %d 91 [1] => Parse error: syntax error, unexpected token "private", expecting "{" in %s on line %d 95 [5] => Parse error: syntax error, unexpected token "private", expecting "{" in %s on line %d 102 [1] => Parse error: syntax error, unexpected token "private", expecting "{" in %s on line %d 105 [4] => Parse error: syntax error, unexpected token "private", expecting "{" in %s on line %d
|
/php-src/ext/standard/tests/strings/ |
H A D | strtok_variation6.phpt | 6 * Testing strtok() : with invalid escape sequences in token 9 echo "*** Testing strtok() : with invalid escape sequences in token ***\n"; 27 // when supplied with different string and token values 32 foreach( $token_array as $token ) { 33 var_dump( strtok($string, $token) ); 35 var_dump( strtok($token) ); 46 *** Testing strtok() : with invalid escape sequences in token ***
|
H A D | strtok_variation7.phpt | 12 $token = " "; 15 var_dump( strtok($str, $token) ); 20 var_dump( strtok($token) ); 25 var_dump( strtok($str, $token) ); 30 var_dump( strtok($token) );
|
/php-src/ext/dom/lexbor/lexbor/html/ |
H A D | tokenizer.c | 35 lxb_html_token_t *token, void *ctx); 61 tkz->token = NULL; in lxb_html_tokenizer_init() 128 tkz_to->token = NULL; in lxb_html_tokenizer_inherit() 299 tkz->token = lxb_html_token_create(tkz->dobj_token); in lxb_html_tokenizer_begin() 300 if (tkz->token == NULL) { in lxb_html_tokenizer_begin() 367 lxb_html_token_clean(tkz->token); in lxb_html_tokenizer_end() 369 tkz->token->tag_id = LXB_TAG__END_OF_FILE; in lxb_html_tokenizer_end() 371 tkz->token = tkz->callback_token_done(tkz, tkz->token, in lxb_html_tokenizer_end() 374 if (tkz->token == NULL && tkz->status == LXB_STATUS_OK) { in lxb_html_tokenizer_end() 383 lxb_html_token_t *token, void *ctx) in lxb_html_tokenizer_token_done() argument [all …]
|
/php-src/ext/opcache/tests/ |
H A D | bug76477.phpt | 14 $token = "ABC"; 15 $lengthBytes = strlenb($token);
|
/php-src/.github/actions/notify-slack/ |
H A D | action.yml | 3 token: 10 …s/${{ github.run_id }}|View Run>", "color": "danger", "mrkdwn_in": ["text"]}]}' ${{ inputs.token }}
|
/php-src/ext/dom/tests/modern/html/parser/ |
H A D | HTMLDocument_fromString_parser_warning_internal_error.phpt | 26 string(75) "tree error unexpected-token-in-initial-mode in Entity, line: 1, column: 1-7" 29 string(71) "tree error doctype-token-in-body-mode in Entity, line: 1, column: 10-16" 40 string(71) "tree error doctype-token-in-body-mode in Entity, line: 1, column: 10-16"
|
/php-src/ext/xml/tests/ |
H A D | xml_error_string_basic_expat.phpt | 18 string(31) "not well-formed (invalid token)" 20 string(14) "unclosed token"
|
/php-src/sapi/cgi/tests/ |
H A D | 012.phpt | 83 …[2] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&… 91 …[1] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&… 94 …[4] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&… 101 …[1] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&… 109 …[1] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&… 112 …[4] => <b>Parse error</b>: syntax error, unexpected token "private", expecting "{&…
|
/php-src/ext/dom/tests/modern/token_list/ |
H A D | toggle_error.phpt | 26 Dom\TokenList::toggle(): Argument #1 ($token) must not contain any null bytes 27 The token must not contain any ASCII whitespace
|
H A D | replace_error.phpt | 32 Dom\TokenList::replace(): Argument #1 ($token) must not contain any null bytes 34 The token must not contain any ASCII whitespace
|
H A D | iterator_modification_invalidation.phpt | 15 foreach ($list as $key => $token) { 16 var_dump($key, $token);
|
H A D | remove_errors.phpt | 36 The empty string is not a valid token 37 The token must not contain any ASCII whitespace
|
H A D | add_errors.phpt | 36 The empty string is not a valid token 37 The token must not contain any ASCII whitespace
|
/php-src/ext/intl/locale/ |
H A D | locale_methods.c | 1061 char* token = NULL; in add_array_entry() local 1089 while( (token = php_strtok_r(NULL , DELIMITER , &last_ptr)) && (strlen(token)>1) ){ in add_array_entry() 1161 char* token = NULL; in PHP_FUNCTION() local 1190 add_next_index_stringl( return_value, token , strlen(token)); in PHP_FUNCTION() 1192 while( (token = php_strtok_r(NULL , DELIMITER, &saved_ptr)) && (strlen(token)>1) ){ in PHP_FUNCTION() 1193 add_next_index_stringl( return_value, token , strlen(token)); in PHP_FUNCTION() 1247 char* token = 0; in PHP_FUNCTION() local 1321 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() 1323 chrcheck = token + (strlen(cur_loc_range)); in PHP_FUNCTION() 1373 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() [all …]
|
/php-src/ext/dom/lexbor/lexbor/html/tokenizer/ |
H A D | state.c | 281 if (tkz->token->begin != NULL) { in lxb_html_tokenizer_state_data() 285 if (tkz->token->begin != tkz->token->end) { in lxb_html_tokenizer_state_data() 302 tkz->token->null_count++; in lxb_html_tokenizer_state_data() 329 tkz->token->tag_id = LXB_TAG__TEXT; in lxb_html_tokenizer_state_plaintext_before() 379 if (tkz->token->begin != NULL) { in lxb_html_tokenizer_state_plaintext() 1318 tkz->token->tag_id = LXB_TAG__EM_COMMENT; in lxb_html_tokenizer_state_bogus_comment_before() 1379 if (tkz->token->begin != NULL) { in lxb_html_tokenizer_state_bogus_comment() 1481 tkz->token->begin = tkz->token->end; in lxb_html_tokenizer_state_markup_declaration_open() 1602 tkz->token->tag_id = LXB_TAG__TEXT; in lxb_html_tokenizer_state_cdata_section_before() 1658 if (tkz->token->begin != NULL) { in lxb_html_tokenizer_state_cdata_section() [all …]
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_log.c | 112 int token, test; in fpm_log_write() local 155 token = 0; in fpm_log_write() 172 if (!token && *s == '%') { in fpm_log_write() 173 token = 1; in fpm_log_write() 179 if (token) { in fpm_log_write() 180 token = 0; in fpm_log_write() 424 token = 1; in fpm_log_write()
|
/php-src/ext/standard/ |
H A D | php_fopen_wrapper.c | 151 char *p, *token = NULL; in php_stream_apply_filter_list() local 154 p = php_strtok_r(filterlist, "|", &token); in php_stream_apply_filter_list() 171 p = php_strtok_r(NULL, "|", &token); in php_stream_apply_filter_list() 182 char *p, *token = NULL, *pathdup; in php_stream_url_wrap_php() local 362 p = php_strtok_r(pathdup + 1, "/", &token); in php_stream_url_wrap_php() 371 p = php_strtok_r(NULL, "/", &token); in php_stream_url_wrap_php()
|
/php-src/Zend/tests/new_without_parentheses/ |
H A D | assign_to_new.phpt | 10 Parse error: syntax error, unexpected token "=" in %s on line %d
|