/PHP-5.4/Zend/ |
H A D | zend_highlight.c | 87 zval token; in zend_highlight() local 95 token.type = 0; in zend_highlight() 119 token.type = 0; in zend_highlight() 123 if (token.type == 0) { in zend_highlight() 157 efree(token.value.str.val); in zend_highlight() 159 token.type = 0; in zend_highlight() 171 zval token; in zend_strip() local 175 token.type = 0; in zend_strip() 186 token.type = 0; in zend_strip() 198 token.type = 0; in zend_strip() [all …]
|
H A D | zend_language_parser.y | 57 %token END 0 "end of file" 102 %token T_SL "<< (T_SL)" 103 %token T_SR ">> (T_SR)" 110 %token T_INC "++ (T_INC)" 111 %token T_DEC "-- (T_DEC)" 124 %token T_IF "if (T_IF)" 137 %token T_INLINE_HTML 138 %token T_CHARACTER 139 %token T_BAD_CHARACTER 143 %token T_DO "do (T_DO)" [all …]
|
H A D | zend_indent.c | 52 zval token; in zend_indent() local 63 token.type = 0; in zend_indent() 64 while ((token_type=lex_scan(&token TSRMLS_CC))) { in zend_indent() 70 token.type = 0; in zend_indent() 82 if (token.type==0) { in zend_indent() 135 if (token.type == IS_STRING) { in zend_indent() 142 efree(token.value.str.val); in zend_indent() 146 token.type = 0; in zend_indent()
|
H A D | zend_ini_parser.y | 252 %token TC_SECTION 253 %token TC_RAW 254 %token TC_CONSTANT 255 %token TC_NUMBER 256 %token TC_STRING 258 %token TC_LABEL 259 %token TC_OFFSET 261 %token TC_VARNAME 263 %token BOOL_TRUE 264 %token BOOL_FALSE [all …]
|
/PHP-5.4/ext/tokenizer/ |
H A D | tokenizer.php | 18 $token = $tokens[$i]; variable 19 if (is_array($token)) { 20 if ($state == 1 && $token[0] == T_STRING) { 21 $token[1] = preg_replace('!([a-z])([A-Z])!e', '"$1_".strtolower("$2")', $token[1]); 23 } else if ($token[0] == T_FUNCTION) { 26 $chunk = $token[1]; 28 $chunk = $token;
|
H A D | tokenizer.c | 46 ZEND_ARG_INFO(0, token) 106 zval token; in tokenize() local 115 ZVAL_NULL(&token); in tokenize() 116 while ((token_type = lex_scan(&token TSRMLS_CC))) { in tokenize() 141 add_next_index_stringl(keyword, Z_STRVAL(token), Z_STRLEN(token), 1); in tokenize() 142 efree(Z_STRVAL(token)); in tokenize() 151 if (destroy && Z_TYPE(token) != IS_NULL) { in tokenize() 152 zval_dtor(&token); in tokenize() 154 ZVAL_NULL(&token); in tokenize()
|
/PHP-5.4/TSRM/ |
H A D | tsrm_strtok_r.c | 19 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-5.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_variation2.phpt | 2 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 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_error.phpt | 5 /* 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 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
|
H A D | strtok_variation1.phpt | 5 /* 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) );
|
H A D | strtok_variation4.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…
|
/PHP-5.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-5.4/ext/tokenizer/tests/ |
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;
|
/PHP-5.4/win32/ |
H A D | sendmail.c | 437 while (token != NULL) in SendText() 439 SMTP_SKIP_SPACE(token); in SendText() 450 token = strtok(NULL, ","); in SendText() 458 while (token != NULL) in SendText() 460 SMTP_SKIP_SPACE(token); in SendText() 488 while (token != NULL) in SendText() 490 SMTP_SKIP_SPACE(token); in SendText() 513 while (token != NULL) in SendText() 515 SMTP_SKIP_SPACE(token); in SendText() 546 while (token != NULL) in SendText() [all …]
|
/PHP-5.4/ext/standard/tests/serialize/ |
H A D | bug65481.phpt | 33 $token = new Token; 34 $token = serialize($token);
|
/PHP-5.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
|
H A D | idate_variation1.phpt | 104 Warning: idate(): Unrecognized date format token. in %s on line %d 107 Warning: idate(): Unrecognized date format token. in %s on line %d 112 Warning: idate(): Unrecognized date format token. in %s on line %d 115 Warning: idate(): Unrecognized date format token. in %s on line %d 224 Warning: idate(): Unrecognized date format token. in %s on line %d 227 Warning: idate(): Unrecognized date format token. in %s on line %d 240 Warning: idate(): Unrecognized date format token. in %s on line %d 243 Warning: idate(): Unrecognized date format token. in %s on line %d
|
/PHP-5.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-5.4/ext/intl/locale/ |
H A D | locale_methods.c | 1036 char* token = NULL; in add_array_entry() local 1062 while( (token = php_strtok_r(NULL , DELIMITER , &last_ptr)) && (strlen(token)>1) ){ in add_array_entry() 1145 char* token = NULL; in PHP_FUNCTION() local 1177 add_next_index_stringl( return_value, token , strlen(token) ,TRUE ); in PHP_FUNCTION() 1179 while( (token = php_strtok_r(NULL , DELIMITER, &saved_ptr)) && (strlen(token)>1) ){ in PHP_FUNCTION() 1180 add_next_index_stringl( return_value, token , strlen(token) ,TRUE ); in PHP_FUNCTION() 1242 char* token = 0; in PHP_FUNCTION() local 1315 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() 1317 chrcheck = token + (strlen(cur_loc_range)); in PHP_FUNCTION() 1371 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() [all …]
|
/PHP-5.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()
|
/PHP-5.4/ext/standard/ |
H A D | php_fopen_wrapper.c | 135 char *p, *token; in php_stream_apply_filter_list() local 138 p = php_strtok_r(filterlist, "|", &token); in php_stream_apply_filter_list() 155 p = php_strtok_r(NULL, "|", &token); in php_stream_apply_filter_list() 165 char *p, *token, *pathdup; in php_stream_url_wrap_php() local 329 p = php_strtok_r(pathdup + 1, "/", &token); in php_stream_url_wrap_php() 338 p = php_strtok_r(NULL, "/", &token); in php_stream_url_wrap_php()
|