Searched refs:mb_stristr (Results 1 – 9 of 9) sorted by relevance
/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_stristr_variation5.phpt | 2 Test mb_stristr() function : usage variation - multiple needles 7 echo "*** Testing mb_stristr() : basic functionality ***\n"; 25 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_upper, true))); 27 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_lower, true))); 33 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper, false))); 34 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper, true))); 35 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, false))); 36 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, true))); 37 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, false))); 38 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, true))); [all …]
|
H A D | mb_stristr_basic.phpt | 2 Test mb_stristr() function : basic functionality 7 echo "*** Testing mb_stristr() : basic functionality ***\n"; 23 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_upper, false, 'ISO-8859-1'))); 24 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_lower))); 25 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_mixed, true))); 29 var_dump(mb_stristr($string_ascii, '123')); 32 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper))); 33 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, false, 'utf-8'))); 34 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, true))); 39 var_dump(mb_stristr($string_mb, $needle2)); [all …]
|
H A D | mb_stristr_empty_needle.phpt | 2 Test mb_stristr() function : with empty needle 15 var_dump(mb_stristr($string_ascii, '', false, 'ISO-8859-1')); 16 var_dump(mb_stristr($string_ascii, '')); 17 var_dump(mb_stristr($string_ascii, '', true)); 20 var_dump(mb_stristr($string_mb, '')); 21 var_dump(mb_stristr($string_mb, '', false, 'utf-8')); 22 var_dump(mb_stristr($string_mb, '', true));
|
H A D | mb_stristr_error2.phpt | 2 Test mb_stristr() function : error conditions 7 echo "*** Testing mb_stristr() : error conditions ***\n"; 10 echo "\n-- Testing mb_stristr() with unknown encoding --\n"; 17 var_dump( mb_stristr($haystack, $needle, $part, $encoding) ); 24 *** Testing mb_stristr() : error conditions *** 26 -- Testing mb_stristr() with unknown encoding -- 27 mb_stristr(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_str_functions_opt-parameter.phpt | 13 echo mb_stristr('foobarbaz', 'BA', null, 'UTF-8') . "\n"; 38 Deprecated: mb_stristr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated …
|
H A D | mb_str_unknown_encoding.phpt | 66 mb_stristr('coudenys', 'cou', false, 'UTF-0'); 154 mb_stristr(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
|
/PHP-8.2/ext/mbstring/ |
H A D | mbstring_arginfo.h | 323 ZEND_FUNCTION(mb_stristr); 417 ZEND_FE(mb_stristr, arginfo_mb_stristr)
|
H A D | mbstring.stub.php | 106 function mb_stristr(string $haystack, string $needle, bool $before_needle = false, ?string $encodin… function
|
H A D | mbstring.c | 2101 PHP_FUNCTION(mb_stristr) in PHP_FUNCTION() argument
|
Completed in 31 milliseconds