/PHP-8.1/ext/standard/tests/strings/ |
H A D | strrchr_basic.phpt | 2 Test strrchr() function : basic functionality 8 var_dump( strrchr('Hello, World', 'H') ); 9 var_dump( strrchr('Hello, World', 'Hello') ); 12 var_dump( strrchr("Hello, World", "h") ); 13 var_dump( strrchr("Hello, World", "hello") ); 16 var_dump( strrchr("Hello, World", "World") ); 20 var_dump( strrchr("Hello, World", ",") ); 21 var_dump( strrchr('Hello, World', ',') ); 26 var_dump( strrchr("Hello, World", "Hi") ); 29 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_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_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_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-8.1/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-8.1/main/streams/ |
H A D | glob_wrapper.c | 104 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split() 108 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split() 228 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener() 232 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-8.1/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() 340 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pestrdup()
|
/PHP-8.1/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-8.1/main/ |
H A D | fopen_wrappers.c | 180 path_file = strrchr(path_tmp, DEFAULT_SLASH); 182 path_file = strrchr(path_tmp, '/'); 185 path_file = strrchr(path_tmp, DEFAULT_SLASH);
|
H A D | php_ini.c | 509 separator_location = strrchr(binary_location, DEFAULT_SLASH); in php_init_config() 674 if (!(p = strrchr(namelist[i]->d_name, '.')) || (p && strcmp(p, ".ini"))) { in php_init_config()
|
H A D | rfc1867.c | 554 char *s = strrchr(path, '\\'); in php_ap_basename() 555 char *s2 = strrchr(path, '/'); in php_ap_basename()
|
/PHP-8.1/ext/standard/ |
H A D | user_filters.c | 275 if ((period = strrchr(filtername, '.'))) { in user_filter_factory_create() 289 period = strrchr(wildcard, '.'); in user_filter_factory_create()
|
/PHP-8.1/ext/soap/ |
H A D | php_xml.c | 320 char *found = strrchr((char*)inval, ':'); in parse_namespace()
|
/PHP-8.1/sapi/litespeed/ |
H A D | lscriu.c | 421 pchLastSlash = strrchr(criu_native_dump.m_chSocketDir,'/'); in LSCRIU_Native_Dump()
|
/PHP-8.1/sapi/fpm/fpm/ |
H A D | fpm_main.c | 815 prog = strrchr(argv0, '/'); in php_cgi_usage() 1106 while ((ptr = strrchr(pt, '/')) || (ptr = strrchr(pt, '\\'))) { in init_request_info()
|
H A D | fpm_sockets.c | 322 char *port_str = strrchr(dup_address, ':'); in fpm_socket_af_inet_listening_socket()
|
/PHP-8.1/Zend/ |
H A D | zend_constants.c | 575 const char *slash = strrchr(ZSTR_VAL(c->name), '\\'); in zend_register_constant()
|