Home
last modified time | relevance | path

Searched refs:mb_stristr (Results 1 – 9 of 9) sorted by relevance

/php-src/ext/mbstring/tests/
H A Dmb_stristr_variation5.phpt2 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 Dmb_stristr_basic.phpt2 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 Dmb_stristr_empty_needle.phpt2 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 Dmb_stristr_error2.phpt2 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 Dmb_str_functions_opt-parameter.phpt13 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 Dmb_str_unknown_encoding.phpt66 mb_stristr('coudenys', 'cou', false, 'UTF-0');
154 mb_stristr(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
/php-src/ext/mbstring/
H A Dmbstring_arginfo.h314 ZEND_FUNCTION(mb_stristr);
383 ZEND_FE(mb_stristr, arginfo_mb_stristr)
H A Dmbstring.stub.php106 function mb_stristr(string $haystack, string $needle, bool $before_needle = false, ?string $encodin… function
H A Dmbstring.c2211 PHP_FUNCTION(mb_stristr) in PHP_FUNCTION() argument

Completed in 41 milliseconds