Searched refs:mb_stristr (Results 1 – 10 of 10) sorted by relevance
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_stristr_variation5.phpt | 2 Test mb_stristr() function : usage variation - multiple needles 6 function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build"); 10 echo "*** Testing mb_stristr() : basic functionality ***\n"; 28 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_upper, true))); 36 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper, false))); 37 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper, true))); 38 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, false))); 39 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, true))); 40 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, false))); 41 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, true))); [all …]
|
H A D | mb_stristr_error2.phpt | 2 Test mb_stristr() function : error conditions 6 function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build"); 10 echo "*** Testing mb_stristr() : error conditions ***\n"; 13 echo "\n-- Testing mb_stristr() with unknown encoding --\n"; 20 var_dump( mb_stristr($haystack, $needle, $part, $encoding) ); 27 *** Testing mb_stristr() : error conditions *** 29 -- Testing mb_stristr() with unknown encoding -- 30 mb_stristr(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
|
H A D | mb_stristr_empty_needle.phpt | 2 Test mb_stristr() function : with empty needle 6 function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build"); 18 var_dump(mb_stristr($string_ascii, '', false, 'ISO-8859-1')); 19 var_dump(mb_stristr($string_ascii, '')); 20 var_dump(mb_stristr($string_ascii, '', true)); 23 var_dump(mb_stristr($string_mb, '')); 24 var_dump(mb_stristr($string_mb, '', false, 'utf-8')); 25 var_dump(mb_stristr($string_mb, '', true));
|
H A D | mb_stristr_basic.phpt | 2 Test mb_stristr() function : basic functionality 6 function_exists('mb_stristr') or die("skip mb_stristr() is not available in this build"); 10 echo "*** Testing mb_stristr() : basic functionality ***\n"; 27 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_lower))); 28 var_dump(bin2hex(mb_stristr($string_ascii, $needle_ascii_mixed, true))); 32 var_dump(mb_stristr($string_ascii, '123')); 35 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_upper))); 36 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_lower, false, 'utf-8'))); 37 var_dump(bin2hex(mb_stristr($string_mb, $needle_mb_mixed, true))); 42 var_dump(mb_stristr($string_mb, $needle2)); [all …]
|
H A D | mb_str_functions_opt-parameter.phpt | 13 echo mb_stristr('foobarbaz', 'BA', null, 'UTF-8') . "\n";
|
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.0/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 | 40 function mb_stristr(string $haystack, string $needle, bool $before_needle = false, ?string $encodin… function
|
H A D | mbstring.c | 2076 PHP_FUNCTION(mb_stristr) in PHP_FUNCTION() argument
|
/PHP-8.0/ |
H A D | UPGRADING | 385 mb_strripos(), mb_strstr(), mb_stristr(), mb_strrchr() and mb_strrichr() can
|
Completed in 34 milliseconds