Home
last modified time | relevance | path

Searched refs:token (Results 76 – 100 of 226) sorted by relevance

12345678910

/php-src/ext/tokenizer/tests/
H A Dbug77966.phpt18 foreach ($tokens as $token) {
19 echo "{$token->getTokenName()}: \"$token->text\"\n";
H A Dbug80462.phpt8 foreach (PhpToken::tokenize('<?php $foo = $a?->b();', TOKEN_PARSE) as $token) {
9 echo $token->getTokenName(), "\n";
/php-src/ext/standard/tests/serialize/
H A Dbug73341.phpt6 $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 Dbug65481.phpt32 $token = new Token;
33 $token = serialize($token);
/php-src/ext/json/
H A Djson_parser.y53 %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 DHTMLDocument_encoding_unicode_error.phpt17 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 D024.phpt73 [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 Dstrtok_variation6.phpt6 * 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 Dstrtok_variation7.phpt12 $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 Dtokenizer.c35 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 Dbug76477.phpt14 $token = "ABC";
15 $lengthBytes = strlenb($token);
/php-src/.github/actions/notify-slack/
H A Daction.yml3 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 DHTMLDocument_fromString_parser_warning_internal_error.phpt26 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 Dxml_error_string_basic_expat.phpt18 string(31) "not well-formed (invalid token)"
20 string(14) "unclosed token"
/php-src/sapi/cgi/tests/
H A D012.phpt83 …[2] => <b>Parse error</b>: syntax error, unexpected token &quot;private&quot;, expecting &quot;{&…
91 …[1] => <b>Parse error</b>: syntax error, unexpected token &quot;private&quot;, expecting &quot;{&…
94 …[4] => <b>Parse error</b>: syntax error, unexpected token &quot;private&quot;, expecting &quot;{&…
101 …[1] => <b>Parse error</b>: syntax error, unexpected token &quot;private&quot;, expecting &quot;{&…
109 …[1] => <b>Parse error</b>: syntax error, unexpected token &quot;private&quot;, expecting &quot;{&…
112 …[4] => <b>Parse error</b>: syntax error, unexpected token &quot;private&quot;, expecting &quot;{&…
/php-src/ext/dom/tests/modern/token_list/
H A Dtoggle_error.phpt26 Dom\TokenList::toggle(): Argument #1 ($token) must not contain any null bytes
27 The token must not contain any ASCII whitespace
H A Dreplace_error.phpt32 Dom\TokenList::replace(): Argument #1 ($token) must not contain any null bytes
34 The token must not contain any ASCII whitespace
H A Diterator_modification_invalidation.phpt15 foreach ($list as $key => $token) {
16 var_dump($key, $token);
H A Dremove_errors.phpt36 The empty string is not a valid token
37 The token must not contain any ASCII whitespace
H A Dadd_errors.phpt36 The empty string is not a valid token
37 The token must not contain any ASCII whitespace
/php-src/ext/intl/locale/
H A Dlocale_methods.c1061 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 Dstate.c281 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 Dfpm_log.c112 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 Dphp_fopen_wrapper.c151 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 Dassign_to_new.phpt10 Parse error: syntax error, unexpected token "=" in %s on line %d

Completed in 48 milliseconds

12345678910