/php-src/ext/standard/tests/strings/ |
H A D | strrchr_basic.phpt | 2 Test strrchr() function : basic functionality 10 var_dump( strrchr('Hello, World', 'H') ); 12 var_dump( strrchr('Hello, World', 'Hello') ); 16 var_dump( strrchr("Hello, World", "h") ); 18 var_dump( strrchr("Hello, World", "hello") ); 22 var_dump( strrchr("Hello, World", "World") ); 28 var_dump( strrchr("Hello, World", ",") ); 30 var_dump( strrchr('Hello, World', ',') ); 37 var_dump( strrchr("Hello, World", "Hi") ); 41 var_dump( strrchr("Hello, World", "o") ); [all …]
|
H A D | strrchr.phpt | 2 strrchr() tests 6 var_dump(strrchr("", "")); 7 var_dump(strrchr("abc", "")); 8 var_dump(strrchr("", "abc")); 9 var_dump(strrchr("abc", "abc")); 10 var_dump(strrchr("test ".chr(0)." test", " ")); 11 var_dump(strrchr("test".chr(0)."string", "t"));
|
H A D | strrchr_variation7.phpt | 2 Test strrchr() function : usage variations - heredoc string containing blank line for 'haystack' 5 /* Test strrchr() function by passing heredoc string containing 9 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 24 //loop through to test strrchr() with each needle 26 var_dump( strrchr($blank_line, $needle) ); 31 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strrchr_variation12.phpt | 2 Test strrchr() function : usage variations - binary safe 5 /* Test strrchr() function: with binary values & null terminated strings passed to 'str1' & 'str2' … 7 echo "*** Test strrchr() function: binary safe ***\n"; 20 var_dump( strrchr($haystacks[$index], "\0") ); 22 var_dump( strrchr($haystacks[$index], "") ); 27 *** Test strrchr() function: binary safe ***
|
H A D | strrchr_variation3.phpt | 2 Test strrchr() function : usage variations - multi line heredoc string for 'haystack' 5 /* Test strrchr() function by passing multi-line heredoc string for haystack and 9 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 23 //loop through to test strrchr() with each needle 25 var_dump( strrchr($multi_line_str, $needle) ); 31 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strrchr_variation5.phpt | 2 Test strrchr() function : usage variations - heredoc string containing escape sequences for 'haysta… 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function by passing heredoc string containing 14 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 28 //loop through to test strrchr() with each needle 30 var_dump( strrchr($escape_char_str, $needle) ); 36 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strrchr_variation6.phpt | 2 Test strrchr() function : usage variations - heredoc string containing quote chars for 'haystack' 5 /* Test strrchr() function by passing heredoc string containing quote chars for haystack 9 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 24 //loop through to test strrchr() with each needle 26 var_dump( strrchr($quote_char_str, $needle) ); 31 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strrchr_variation4.phpt | 2 Test strrchr() function : usage variations - heredoc string containing special chars for 'haystack' 5 /* Test strrchr() function by passing heredoc string containing special chars for haystack 9 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 30 //loop through to test strrchr() with each needle 32 var_dump( strrchr($special_chars_str, $needle) ); 37 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strings001.phpt | 2 Test whether strstr() and strrchr() are binary safe. 7 var_dump(strrchr($s," nic"));
|
H A D | strrchr_variation2.phpt | 2 Test strrchr() function : usage variations - single quoted strings 5 /* Test strrchr() function by passing various single quoted strings to 'haystack' & 'needle' */ 7 echo "*** Testing strrchr() function: with various single quoted strings ***"; 72 var_dump( strrchr($haystack, $needle[$index]) ); 78 *** Testing strrchr() function: with various single quoted strings ***
|
H A D | strrchr_variation1.phpt | 2 Test strrchr() function : usage variations - double quoted strings 6 /* Test strrchr() function by passing various double quoted strings for 'haystack' & 'needle' */ 8 echo "*** Testing strrchr() function: with various double quoted strings ***"; 73 var_dump( strrchr($haystack, $needle[$index]) ); 79 *** Testing strrchr() function: with various double quoted strings ***
|
/php-src/ext/gd/libgd/ |
H A D | gd_xbm.c | 56 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm() 83 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm() 184 if ((f = strrchr(name, '/')) != NULL) name = f+1; in gdImageXbmCtx() 185 if ((f = strrchr(name, '\\')) != NULL) name = f+1; in gdImageXbmCtx() 187 if ((f = strrchr(name, '.')) != NULL && !strcasecmp(f, ".XBM")) *f = '\0'; in gdImageXbmCtx()
|
/php-src/main/streams/ |
H A D | glob_wrapper.c | 112 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split() 116 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split() 256 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener() 260 if ((tmp = strrchr(pos, '\\')) != NULL) { in php_glob_stream_opener()
|
H A D | filter.c | 232 } else if ((period = strrchr(filtername, '.'))) { in php_stream_filter_create() 248 period = strrchr(wildname, '.'); in php_stream_filter_create()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 204 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_efree() 235 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pefree() 267 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pememdup() 298 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pestrndup() 339 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pestrdup()
|
/php-src/tests/strings/ |
H A D | 001.phpt | 37 echo "Testing strrchr: "; 39 $found1 = strrchr($test, "b"); 40 $found2 = strrchr($test, chr(102)); 209 Testing strrchr: passed
|
/php-src/sapi/fuzzer/ |
H A D | fuzzer-execute-common.h | 159 char *last_sep = strrchr(path, '/');
|
/php-src/ext/standard/ |
H A D | user_filters.c | 248 if ((period = strrchr(filtername, '.'))) { in user_filter_factory_create() 262 period = strrchr(wildcard, '.'); in user_filter_factory_create()
|
/php-src/main/ |
H A D | fopen_wrappers.c | 192 path_file = strrchr(path_tmp, DEFAULT_SLASH); 194 path_file = strrchr(path_tmp, '/'); 197 path_file = strrchr(path_tmp, DEFAULT_SLASH);
|
H A D | php_ini.c | 510 separator_location = strrchr(binary_location, DEFAULT_SLASH); in php_init_config() 664 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) { in php_init_config()
|
/php-src/ext/fileinfo/libmagic/ |
H A D | magic.c | 102 const char *p = strrchr(file, '.'); in unreadable_info()
|
/php-src/ext/soap/ |
H A D | php_xml.c | 321 const char *found = strrchr((const char *) inval, ':'); in parse_namespace()
|
/php-src/sapi/litespeed/ |
H A D | lscriu.c | 421 pchLastSlash = strrchr(criu_native_dump.m_chSocketDir,'/'); in LSCRIU_Native_Dump()
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_main.c | 830 prog = strrchr(argv0, '/'); in php_cgi_usage() 1121 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) { in init_request_info()
|
H A D | fpm_sockets.c | 341 char *port_str = strrchr(dup_address, ':'); in fpm_socket_af_inet_listening_socket()
|