/PHP-7.1/ext/standard/tests/strings/ |
H A D | strrchr_error.phpt | 2 Test strrchr() function : error conditions 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 echo "*** Testing strrchr() function: error conditions ***\n"; 15 echo "\n-- Testing strrchr() function with Zero arguments --"; 16 var_dump( strrchr() ); 19 var_dump( strrchr($haystack) ); 22 var_dump( strrchr($haystack, $needle, $extra_arg) ); 27 *** Testing strrchr() function: error conditions *** 29 -- Testing strrchr() function with Zero arguments -- 30 Warning: strrchr() expects exactly 2 parameters, 0 given in %s on line %d [all …]
|
H A D | strrchr_basic.phpt | 2 Test strrchr() function : basic functionality 13 var_dump( strrchr('Hello, World', 'H') ); 14 var_dump( strrchr('Hello, World', 'Hello') ); 17 var_dump( strrchr("Hello, World", "h") ); 18 var_dump( strrchr("Hello, World", "hello") ); 21 var_dump( strrchr("Hello, World", "World") ); 25 var_dump( strrchr("Hello, World", ",") ); 26 var_dump( strrchr('Hello, World', ',') ); 31 var_dump( strrchr("Hello, World", "Hi") ); 34 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_variation8.phpt | 2 Test strrchr() function : usage variations - empty heredoc string for 'haystack' 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function by passing empty heredoc string for haystack 14 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 27 //loop through to test strrchr() with each needle 29 var_dump( strrchr($empty_str, $needle) ); 34 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strrchr_variation7.phpt | 2 Test strrchr() function : usage variations - heredoc string containing blank line for 'haystack' 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"; 29 //loop through to test strrchr() with each needle 31 var_dump( strrchr($blank_line, $needle) ); 36 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strrchr_variation12.phpt | 2 Test strrchr() function : usage variations - binary safe 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function: with binary values & null terminated strings passed to 'str1' & 'str2' … 12 echo "*** Test strrchr() function: binary safe ***\n"; 25 var_dump( strrchr($haystacks[$index], "\0") ); 27 var_dump( strrchr($haystacks[$index], NULL) ); 32 *** Test strrchr() function: binary safe ***
|
H A D | strrchr_variation3.phpt | 2 Test strrchr() function : usage variations - multi line heredoc string for 'haystack' 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function by passing multi-line heredoc string for haystack and 14 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 28 //loop through to test strrchr() with each needle 30 var_dump( strrchr($multi_line_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 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function by passing heredoc string containing quote chars for haystack 14 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 29 //loop through to test strrchr() with each needle 31 var_dump( strrchr($quote_char_str, $needle) ); 36 *** 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_variation11.phpt | 2 Test strrchr() function : usage variations - unexpected inputs for haystack and needle 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function with unexpected inputs for haystack and needle */ 79 // loop through each element of the array and check the working of strrchr() 83 var_dump( strrchr($values[$index], $values[$index]) ); 92 *** Testing strrchr() function: with unexpected inputs for haystack and needle *** 113 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d 117 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d 121 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d 125 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d [all …]
|
H A D | strrchr_variation9.phpt | 2 Test strrchr() function : usage variations - unexpected inputs for haystack 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function with unexpected inputs for haystack 14 echo "*** Testing strrchr() function: with unexpected inputs for haystack ***\n"; 120 // loop through each element of the array and check the working of strrchr() 124 var_dump( strrchr($haystacks[$index], $needles[$index]) ); 133 *** Testing strrchr() function: with unexpected inputs for haystack *** 154 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d 158 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d 162 Warning: strrchr() expects parameter 1 to be string, array given in %s on line %d [all …]
|
H A D | strrchr_variation4.phpt | 2 Test strrchr() function : usage variations - heredoc string containing special chars for 'haystack' 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function by passing heredoc string containing special chars for haystack 14 echo "*** Testing strrchr() function: with heredoc strings ***\n"; 35 //loop through to test strrchr() with each needle 37 var_dump( strrchr($special_chars_str, $needle) ); 42 *** Testing strrchr() function: with heredoc strings ***
|
H A D | strrchr_variation10.phpt | 2 Test strrchr() function : usage variations - unexpected inputs for needle 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function: with unexpected inputs for needle 14 echo "*** Testing strrchr() function with unexpected inputs for needle ***\n"; 124 var_dump( strrchr($haystacks[$index], $needles[$index]) ); 133 *** Testing strrchr() function with unexpected inputs for needle *** 154 Warning: strrchr(): needle is not a string or an integer in %s on line %d 158 Warning: strrchr(): needle is not a string or an integer in %s on line %d 162 Warning: strrchr(): needle is not a string or an integer in %s on line %d 166 Warning: strrchr(): needle is not a string or an integer in %s on line %d [all …]
|
H A D | strrchr_variation2.phpt | 2 Test strrchr() function : usage variations - single quoted strings 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function by passing various single quoted strings to 'haystack' & 'needle' */ 12 echo "*** Testing strrchr() function: with various single quoted strings ***"; 79 var_dump( strrchr($haystack, $needle[$index]) ); 85 *** Testing strrchr() function: with various single quoted strings ***
|
H A D | strings001.phpt | 2 Test whether strstr() and strrchr() are binary safe. 8 var_dump(strrchr($s," nic"));
|
H A D | strrchr_variation1.phpt | 2 Test strrchr() function : usage variations - double quoted strings 5 /* Prototype : string strrchr(string $haystack, string $needle); 10 /* Test strrchr() function by passing various double quoted strings for 'haystack' & 'needle' */ 12 echo "*** Testing strrchr() function: with various double quoted strings ***"; 79 var_dump( strrchr($haystack, $needle[$index]) ); 85 *** Testing strrchr() function: with various double quoted strings ***
|
/PHP-7.1/ext/gd/libgd/ |
H A D | xbm.c | 57 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm() 84 if (!(type = strrchr(iname, '_'))) { in gdImageCreateFromXbm() 185 if ((f = strrchr(name, '/')) != NULL) name = f+1; in gdImageXbmCtx() 186 if ((f = strrchr(name, '\\')) != NULL) name = f+1; in gdImageXbmCtx() 188 if ((f = strrchr(name, '.')) != NULL && !strcasecmp(f, ".XBM")) *f = '\0'; in gdImageXbmCtx()
|
/PHP-7.1/ext/mysqlnd/ |
H A D | mysqlnd_alloc.c | 90 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_emalloc() 130 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pemalloc() 173 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_ecalloc() 213 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pecalloc() 257 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_erealloc() 298 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_perealloc() 338 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_efree() 369 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_pefree() 404 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_malloc() 443 char * fn = strrchr(__zend_filename, PHP_DIR_SEPARATOR); in _mysqlnd_calloc() [all …]
|
/PHP-7.1/main/streams/ |
H A D | glob_wrapper.c | 116 if ((pos = strrchr(path, '/')) != NULL) { in php_glob_stream_path_split() 120 if ((pos = strrchr(path, '\\')) != NULL) { in php_glob_stream_path_split() 240 if ((tmp = strrchr(pos, '/')) != NULL) { in php_glob_stream_opener() 244 if ((tmp = strrchr(pos, '\\')) != NULL) { in php_glob_stream_opener()
|
/PHP-7.1/ext/mbstring/tests/ |
H A D | mb_get_info.phpt | 52 ["strrchr"]=> 116 ["strrchr"]=> 142 ["strrchr"]=>
|
/PHP-7.1/tests/strings/ |
H A D | 001.phpt | 39 echo "Testing strrchr: "; 41 $found1 = strrchr($test, "b"); 42 $found2 = strrchr($test, 102); 211 Testing strrchr: passed
|
/PHP-7.1/ext/zip/lib/ |
H A D | zip_name_locate.c | 77 p = strrchr(fn, '/'); in _zip_name_locate()
|
/PHP-7.1/main/ |
H A D | fopen_wrappers.c | 188 path_file = strrchr(path_tmp, DEFAULT_SLASH); 190 path_file = strrchr(path_tmp, '/'); 193 path_file = strrchr(path_tmp, DEFAULT_SLASH);
|
/PHP-7.1/ext/standard/ |
H A D | user_filters.c | 291 if ((period = strrchr(filtername, '.'))) { in user_filter_factory_create() 304 period = strrchr(wildcard, '.'); in user_filter_factory_create()
|
H A D | php_string.h | 52 PHP_FUNCTION(strrchr);
|