/PHP-5.5/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() 148 if (destroy && Z_TYPE(token) != IS_NULL) { in tokenize() 149 zval_dtor(&token); in tokenize() 151 ZVAL_NULL(&token); in tokenize()
|
/PHP-5.5/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() 143 if (token.type == IS_STRING) { in zend_highlight() 157 token.type = 0; in zend_highlight() 169 zval token; in zend_strip() local 173 token.type = 0; in zend_strip() 184 token.type = 0; in zend_strip() 195 token.type = 0; in zend_strip() [all …]
|
H A D | zend_language_parser.y | 57 %token END 0 "end of file" 104 %token T_SL "<< (T_SL)" 105 %token T_SR ">> (T_SR)" 112 %token T_INC "++ (T_INC)" 113 %token T_DEC "-- (T_DEC)" 126 %token T_IF "if (T_IF)" 139 %token T_INLINE_HTML 140 %token T_CHARACTER 141 %token T_BAD_CHARACTER 145 %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 | 258 %token TC_SECTION 259 %token TC_RAW 260 %token TC_CONSTANT 261 %token TC_NUMBER 262 %token TC_STRING 264 %token TC_LABEL 265 %token TC_OFFSET 267 %token TC_VARNAME 269 %token BOOL_TRUE 270 %token BOOL_FALSE [all …]
|
/PHP-5.5/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.5/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…
|
H A D | strtok_variation3.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.5/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.5/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.5/win32/ |
H A D | sendmail.c | 438 while (token != NULL) in SendText() 440 SMTP_SKIP_SPACE(token); in SendText() 451 token = strtok(NULL, ","); in SendText() 459 while (token != NULL) in SendText() 461 SMTP_SKIP_SPACE(token); in SendText() 489 while (token != NULL) in SendText() 491 SMTP_SKIP_SPACE(token); in SendText() 514 while (token != NULL) in SendText() 516 SMTP_SKIP_SPACE(token); in SendText() 547 while (token != NULL) in SendText() [all …]
|
/PHP-5.5/ext/standard/tests/serialize/ |
H A D | bug65481.phpt | 33 $token = new Token; 34 $token = serialize($token);
|
/PHP-5.5/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-5.5/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.5/ext/intl/locale/ |
H A D | locale_methods.c | 1034 char* token = NULL; in add_array_entry() local 1060 while( (token = php_strtok_r(NULL , DELIMITER , &last_ptr)) && (strlen(token)>1) ){ in add_array_entry() 1143 char* token = NULL; in PHP_FUNCTION() local 1175 add_next_index_stringl( return_value, token , strlen(token) ,TRUE ); in PHP_FUNCTION() 1177 while( (token = php_strtok_r(NULL , DELIMITER, &saved_ptr)) && (strlen(token)>1) ){ in PHP_FUNCTION() 1178 add_next_index_stringl( return_value, token , strlen(token) ,TRUE ); in PHP_FUNCTION() 1238 char* token = 0; in PHP_FUNCTION() local 1311 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() 1313 chrcheck = token + (strlen(cur_loc_range)); in PHP_FUNCTION() 1367 if( token && (token==cur_lang_tag) ){ in PHP_FUNCTION() [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_log.c | 104 int token, test; in fpm_log_write() local 143 token = 0; in fpm_log_write() 160 if (!token && *s == '%') { in fpm_log_write() 161 token = 1; in fpm_log_write() 167 if (token) { in fpm_log_write() 168 token = 0; in fpm_log_write() 409 token = 1; in fpm_log_write()
|
/PHP-5.5/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()
|