Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 65) sorted by relevance

123

/PHP-7.3/Zend/
H A Dzend_language_parser.y92 %token <ast> T_INLINE_HTML
98 %token END 0 "end of file"
130 %token T_SL "<< (T_SL)"
131 %token T_SR ">> (T_SR)"
133 %token T_INC "++ (T_INC)"
134 %token T_DEC "-- (T_DEC)"
142 %token T_NEW "new (T_NEW)"
145 %token T_IF "if (T_IF)"
150 %token T_DO "do (T_DO)"
159 %token T_AS "as (T_AS)"
[all …]
H A Dzend_highlight.c86 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 Dzend_ini_parser.y294 %token TC_SECTION
295 %token TC_RAW
296 %token TC_CONSTANT
297 %token TC_NUMBER
298 %token TC_STRING
300 %token TC_LABEL
301 %token TC_OFFSET
303 %token TC_VARNAME
305 %token BOOL_TRUE
306 %token BOOL_FALSE
[all …]
/PHP-7.3/TSRM/
H A Dtsrm_strtok_r.c19 char *token; in tsrm_strtok_r() local
32 token = s; in tsrm_strtok_r()
43 return token; in tsrm_strtok_r()
52 char *token;
54 token = tsrm_strtok_r(foo, "/\\", &last);
55 while (token) {
56 printf ("Token = '%s'\n", token);
57 token = tsrm_strtok_r(NULL, "/\\", &last);
/PHP-7.3/sapi/phpdbg/
H A Dphpdbg_parser.y45 %token T_EVAL "eval"
46 %token T_RUN "run"
47 %token T_SHELL "shell"
48 %token T_IF "if (condition)"
52 %token T_COLON ": (colon)"
55 %token T_SEPARATOR "# (pound sign)"
57 %token T_DIGITS "digits (numbers)"
58 %token T_LITERAL "literal (string)"
59 %token T_ADDR "address"
60 %token T_OPCODE "opcode"
[all …]
/PHP-7.3/ext/standard/tests/strings/
H A Dstrtok_basic.phpt5 /* 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 Dstrtok_variation6.phpt5 /* 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 Dstrtok_variation2.phpt2 Test strtok() function : usage variations - with different token strings
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 different token strings
14 echo "*** Testing strtok() : with different token strings ***\n";
84 // when $token argument is supplied with different values
86 echo "\n--- Testing strtok() by supplying different values for 'token' argument ---\n";
90 $token = $values [$index];
92 var_dump( strtok($str, $token) );
103 *** Testing strtok() : with different token strings ***
[all …]
H A Dstrtok_variation7.phpt5 /* 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 Dstrtok_error.phpt5 /* Prototype : string strtok ( string $str, string $token )
6 …ring (str) into smaller strings (tokens), with each token being delimited by any character from to…
23 $token = ' ';
26 var_dump( strtok($str, $token, $extra_arg) );
H A Dstrtok_variation5.phpt5 /* 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
H A Dstrtok_variation1.phpt5 /* Prototype : string strtok ( string $str, string $token )
6 …ring (str) into smaller strings (tokens), with each token being delimited by any character from to…
16 $token = '-';
92 var_dump( strtok($str, $token) );
/PHP-7.3/ext/phar/
H A Dmakestub.php6 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.3/ext/tokenizer/
H A Dtokenizer.c52 ZEND_ARG_INFO(0, token)
129 zval token; in tokenize() local
145 while ((token_type = lex_scan(&token, NULL))) { in tokenize()
148 if (Z_TYPE(token) != IS_UNDEF) { in tokenize()
149 zval_ptr_dtor_nogc(&token); in tokenize()
150 ZVAL_UNDEF(&token); in tokenize()
193 if (token == END) break; in on_event()
195 if (token == ';' && LANG_SCNG(yy_leng) > 1) { /* ?> or ?>\n or ?>\r\n */ in on_event()
196 token = T_CLOSE_TAG; in on_event()
198 token = T_OPEN_TAG_WITH_ECHO; in on_event()
[all …]
/PHP-7.3/ext/tokenizer/tests/
H A Dbug76991.phpt16 foreach (token_get_all($code) as $token) {
17 if (is_array($token)) {
18 echo token_name($token[0]) . ": " .str_replace("\n", '\n', $token[1]);
20 echo $token;
H A Dtoken_get_all_variation19.phpt36 // 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 Dparse_errors.phpt15 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";
/PHP-7.3/win32/
H A Dsendmail.c415 while (token != NULL) in SendText()
417 SMTP_SKIP_SPACE(token); in SendText()
428 token = strtok(NULL, ","); in SendText()
436 while (token != NULL) in SendText()
438 SMTP_SKIP_SPACE(token); in SendText()
466 while (token != NULL) in SendText()
468 SMTP_SKIP_SPACE(token); in SendText()
491 while (token != NULL) in SendText()
493 SMTP_SKIP_SPACE(token); in SendText()
524 while (token != NULL) in SendText()
[all …]
/PHP-7.3/ext/json/
H A Djson_parser.y63 %token <value> PHP_JSON_T_NUL
64 %token <value> PHP_JSON_T_TRUE
65 %token <value> PHP_JSON_T_FALSE
66 %token <value> PHP_JSON_T_INT
67 %token <value> PHP_JSON_T_DOUBLE
68 %token <value> PHP_JSON_T_STRING
69 %token <value> PHP_JSON_T_ESTRING
70 %token <value> PHP_JSON_T_EOI
71 %token <value> PHP_JSON_T_ERROR
296 int token = php_json_scan(&parser->scanner); in php_json_yylex() local
[all …]
/PHP-7.3/ext/standard/tests/serialize/
H A Dbug65481.phpt33 $token = new Token;
34 $token = serialize($token);
H A Dbug73341.phpt6 $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.3/ext/date/tests/
H A D005.phpt29 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.3/ext/opcache/tests/
H A Dbug76477.phpt14 $token = "ABC";
15 $lengthBytes = strlenb($token);
/PHP-7.3/ext/soap/tests/bugs/
H A Dbug50762.phpt9 public function authToken($token){
38 public function __construct($token){
39 $this->authToken=$token;
/PHP-7.3/ext/intl/locale/
H A Dlocale_methods.c1039 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 …]

Completed in 53 milliseconds

123