/dports/lang/php73/php-7.3.33/ext/mbstring/tests/ |
H A D | mb_strrchr_variation4.phpt | 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : usage variation ***\n"; 122 *** Testing mb_strrchr() : usage variation *** 125 Error: 2 - mb_strrchr(): Unknown encoding "0", %s(%d) 129 Error: 2 - mb_strrchr(): Unknown encoding "1", %s(%d) 177 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 181 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 189 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 197 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 201 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) [all …]
|
H A D | mb_strrchr_error1.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 //Test mb_strrchr with one more than the expected number of arguments 26 var_dump( mb_strrchr($haystack, $needle, $part, $encoding, $extra_arg) ); 28 // Testing mb_strrchr with one less than the expected number of arguments 31 var_dump( mb_strrchr($haystack) ); 36 *** Testing mb_strrchr() : error conditions *** 38 -- Testing mb_strrchr() function with more than expected no. of arguments -- 40 Warning: mb_strrchr() expects at most 4 parameters, 5 given in %s on line %d [all …]
|
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 26 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 27 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 31 var_dump(mb_strrchr($string_ascii, '123')); 35 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 36 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 37 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 42 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]]) 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 24 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 29 *** Testing mb_strrchr() : error conditions *** 31 -- Testing mb_strrchr() with unknown encoding -- 33 Warning: mb_strrchr(): Unknown encoding "unknown-encoding" in %s on line %d
|
H A D | mb_strrchr_variation6.phpt | 2 Test mb_strrchr() function : variation - case sensitivity 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]]) 16 echo "*** Testing mb_strrchr() : variation ***\n"; 34 var_dump(bin2hex(mb_strrchr($string_ascii, $needle_ascii_lower))); 36 var_dump(mb_strrchr($string_ascii, $needle_ascii_upper)); 37 var_dump(mb_strrchr($string_ascii, $needle_ascii_mixed)); 41 $res = mb_strrchr($string_mb, $needle_mb_lower, false); 49 var_dump(mb_strrchr($string_mb, $needle_mb_upper)); 50 var_dump(mb_strrchr($string_mb, $needle_mb_mixed)); [all …]
|
/dports/converters/php73-mbstring/php-7.3.33/ext/mbstring/tests/ |
H A D | mb_strrchr_variation4.phpt | 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : usage variation ***\n"; 122 *** Testing mb_strrchr() : usage variation *** 125 Error: 2 - mb_strrchr(): Unknown encoding "0", %s(%d) 129 Error: 2 - mb_strrchr(): Unknown encoding "1", %s(%d) 177 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 181 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 189 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 197 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 201 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) [all …]
|
H A D | mb_strrchr_error1.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 //Test mb_strrchr with one more than the expected number of arguments 26 var_dump( mb_strrchr($haystack, $needle, $part, $encoding, $extra_arg) ); 28 // Testing mb_strrchr with one less than the expected number of arguments 31 var_dump( mb_strrchr($haystack) ); 36 *** Testing mb_strrchr() : error conditions *** 38 -- Testing mb_strrchr() function with more than expected no. of arguments -- 40 Warning: mb_strrchr() expects at most 4 parameters, 5 given in %s on line %d [all …]
|
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 26 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 27 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 31 var_dump(mb_strrchr($string_ascii, '123')); 35 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 36 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 37 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 42 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]]) 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 24 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 29 *** Testing mb_strrchr() : error conditions *** 31 -- Testing mb_strrchr() with unknown encoding -- 33 Warning: mb_strrchr(): Unknown encoding "unknown-encoding" in %s on line %d
|
/dports/www/mod_php73/php-7.3.33/ext/mbstring/tests/ |
H A D | mb_strrchr_variation4.phpt | 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : usage variation ***\n"; 122 *** Testing mb_strrchr() : usage variation *** 125 Error: 2 - mb_strrchr(): Unknown encoding "0", %s(%d) 129 Error: 2 - mb_strrchr(): Unknown encoding "1", %s(%d) 177 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 181 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 189 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 197 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) 201 Error: 2 - mb_strrchr(): Unknown encoding "", %s(%d) [all …]
|
H A D | mb_strrchr_error1.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 //Test mb_strrchr with one more than the expected number of arguments 26 var_dump( mb_strrchr($haystack, $needle, $part, $encoding, $extra_arg) ); 28 // Testing mb_strrchr with one less than the expected number of arguments 31 var_dump( mb_strrchr($haystack) ); 36 *** Testing mb_strrchr() : error conditions *** 38 -- Testing mb_strrchr() function with more than expected no. of arguments -- 40 Warning: mb_strrchr() expects at most 4 parameters, 5 given in %s on line %d [all …]
|
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 26 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 27 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 31 var_dump(mb_strrchr($string_ascii, '123')); 35 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 36 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 37 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 42 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]]) 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 24 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 29 *** Testing mb_strrchr() : error conditions *** 31 -- Testing mb_strrchr() with unknown encoding -- 33 Warning: mb_strrchr(): Unknown encoding "unknown-encoding" in %s on line %d
|
/dports/converters/php80-mbstring/php-8.0.15/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 20 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 21 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 25 var_dump(mb_strrchr($string_ascii, '123')); 29 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 30 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 31 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 36 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
/dports/lang/php80/php-8.0.15/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 20 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 21 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 25 var_dump(mb_strrchr($string_ascii, '123')); 29 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 30 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 31 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 36 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
/dports/www/mod_php80/php-8.0.15/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 20 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 21 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 25 var_dump(mb_strrchr($string_ascii, '123')); 29 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 30 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 31 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 36 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
/dports/converters/php74-mbstring/php-7.4.27/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 26 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 27 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 31 var_dump(mb_strrchr($string_ascii, '123')); 35 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 36 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 37 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 42 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]]) 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 24 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 29 *** Testing mb_strrchr() : error conditions *** 31 -- Testing mb_strrchr() with unknown encoding -- 33 Warning: mb_strrchr(): Unknown encoding "unknown-encoding" in %s on line %d
|
/dports/lang/php74/php-7.4.27/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 26 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 27 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 31 var_dump(mb_strrchr($string_ascii, '123')); 35 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 36 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 37 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 42 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]]) 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 24 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 29 *** Testing mb_strrchr() : error conditions *** 31 -- Testing mb_strrchr() with unknown encoding -- 33 Warning: mb_strrchr(): Unknown encoding "unknown-encoding" in %s on line %d
|
/dports/www/mod_php74/php-7.4.27/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 16 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 26 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 27 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 31 var_dump(mb_strrchr($string_ascii, '123')); 35 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 36 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 37 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 42 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
H A D | mb_strrchr_error2.phpt | 2 Test mb_strrchr() function : error conditions 6 function_exists('mb_strrchr') or die("skip mb_strrchr() is not available in this build"); 10 /* Prototype : string mb_strrchr(string haystack, string needle[, bool part[, string encoding]]) 16 echo "*** Testing mb_strrchr() : error conditions ***\n"; 19 echo "\n-- Testing mb_strrchr() with unknown encoding --\n"; 24 var_dump( mb_strrchr($haystack, $needle, $part, $encoding) ); 29 *** Testing mb_strrchr() : error conditions *** 31 -- Testing mb_strrchr() with unknown encoding -- 33 Warning: mb_strrchr(): Unknown encoding "unknown-encoding" in %s on line %d
|
/dports/converters/php81-mbstring/php-8.1.1/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 7 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 16 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', false, 'ISO-8859-1'))); 17 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 18 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 22 var_dump(mb_strrchr($string_ascii, '123')); 26 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 27 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 28 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 33 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
/dports/www/mod_php81/php-8.1.1/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 7 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 16 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', false, 'ISO-8859-1'))); 17 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 18 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 22 var_dump(mb_strrchr($string_ascii, '123')); 26 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 27 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 28 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 33 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|
/dports/lang/php81/php-8.1.1/ext/mbstring/tests/ |
H A D | mb_strrchr_basic.phpt | 2 Test mb_strrchr() function : basic functionality 7 echo "*** Testing mb_strrchr() : basic functionality ***\n"; 16 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', false, 'ISO-8859-1'))); 17 var_dump(bin2hex(mb_strrchr($string_ascii, 'd'))); 18 var_dump(bin2hex(mb_strrchr($string_ascii, 'd', true))); 22 var_dump(mb_strrchr($string_ascii, '123')); 26 var_dump(bin2hex(mb_strrchr($string_mb, $needle1))); 27 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, false, 'utf-8'))); 28 var_dump(bin2hex(mb_strrchr($string_mb, $needle1, true))); 33 var_dump(mb_strrchr($string_mb, $needle2)); [all …]
|