Home
last modified time | relevance | path

Searched refs:mb_strrpos (Results 1 – 12 of 12) sorted by relevance

/PHP-8.4/ext/mbstring/tests/
H A Dbug43841.phpt2 Test mb_strrpos() function : mb_strrpos offset is byte count for negative values
20 var_dump( mb_strrpos($string_mb, $needle, $i, 'UTF-8') );
25 echo "mb_strrpos:\n";
27 var_dump(mb_strrpos('This is na English ta', 'a', $i));
42 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
44 mb_strrpos:
45 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
51 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
53 mb_strrpos:
62 mb_strrpos:
[all …]
H A Dmb_strrpos_basic.phpt2 Test mb_strrpos() function : basic functionality
8 * Test basic functionality of mb_strrpos()
11 echo "*** Testing mb_strrpos() : basic ***\n";
20 var_dump(mb_strrpos($string_ascii, 'is', 4, 'ISO-8859-1'));
23 var_dump(mb_strrpos($string_ascii, 'hello, world'));
26 var_dump(mb_strrpos($string_ascii, 'hello', -1, 'ISO-8859-1'));
30 var_dump(mb_strrpos($string_mb, $needle1));
34 var_dump(mb_strrpos($string_mb, $needle2));
39 *** Testing mb_strrpos() : basic ***
H A Dmb_strrpos_empty_needle.phpt2 Test mb_strrpos() function : with empty needle
15 var_dump(mb_strrpos($string_ascii, ''));
18 var_dump(mb_strrpos($string_ascii, '', 2));
21 var_dump(mb_strrpos($string_ascii, '', -2));
25 var_dump(mb_strrpos($string_ascii, '', 15));
32 var_dump(mb_strrpos($string_ascii, '', -15));
39 var_dump(mb_strrpos($string_mb, ''));
42 var_dump(mb_strrpos($string_mb, '', 2));
45 var_dump(mb_strrpos($string_mb, '', -2));
49 var_dump(mb_strrpos($string_mb, '', 150));
[all …]
H A Dmb_strrpos_error2.phpt2 Test mb_strrpos() function : error conditions - pass an unknown encoding
8 * Pass mb_strrpos() an encoding that doesn't exist
11 echo "*** Testing mb_strrpos() : error conditions ***\n";
19 var_dump(mb_strrpos($haystack, $needle , $offset, $encoding));
26 *** Testing mb_strrpos() : error conditions ***
27 mb_strrpos(): Argument #4 ($encoding) must be a valid encoding, "unknown-encoding" given
H A Dgh11217.phpt2 GH-11217: Segfault in mb_strrpos/mb_strripos with ASCII encoding and negative offset
7 var_dump(mb_strrpos('foo', 'foo', -1, 'ASCII'));
H A Dmb_strpos_offset_errors.phpt19 var_dump(mb_strrpos("f", "bar", 3));
24 var_dump(mb_strrpos("f", "bar", -3));
53 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
54 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dbug45923.phpt28 section('mb_strrpos' , "●○◆ ●○◆ ●○◆", "●○◆");
149 ------- mb_strrpos -----------
162 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
170 mb_strrpos(): Argument #3 ($offset) must be contained in argument #1 ($haystack)
H A Dmb_str_functions_opt-parameter.phpt8 echo mb_strrpos('abb', 'b', null, 'UTF-8') . "\n";
23 Deprecated: mb_strrpos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on…
H A Dmb_str_unknown_encoding.phpt102 mb_strrpos('coudenys', 'cou', 0, 'UTF-0');
160 mb_strrpos(): Argument #4 ($encoding) must be a valid encoding, "UTF-0" given
/PHP-8.4/ext/mbstring/
H A Dmbstring_arginfo.h309 ZEND_FUNCTION(mb_strrpos);
378 ZEND_FE(mb_strrpos, arginfo_mb_strrpos)
H A Dmbstring.stub.php93 function mb_strrpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): i… function
H A Dmbstring.c2000 PHP_FUNCTION(mb_strrpos) in PHP_FUNCTION() argument

Completed in 32 milliseconds