Home
last modified time | relevance | path

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

/PHP-7.2/ext/mbstring/tests/
H A Dmb_split_error.phpt2 Test mb_split() function : error conditions
6 function_exists('mb_split') or die("skip mb_split() is not available in this build");
20 echo "*** Testing mb_split() : error conditions ***\n";
23 //Test mb_split with one more than the expected number of arguments
29 var_dump( mb_split($pattern, $string, $limit, $extra_arg) );
31 // Testing mb_split with one less than the expected number of arguments
34 var_dump( mb_split($pattern) );
39 *** Testing mb_split() : error conditions ***
41 -- Testing mb_split() function with more than expected no. of arguments --
43 Warning: mb_split() expects at most 3 parameters, 4 given in %s on line %d
[all …]
H A Dmb_split_empty_match.phpt2 mb_split() empty match
7 function_exists('mb_split') or die("skip mb_split() is not available in this build");
12 var_dump(mb_split('^', "a\nb\nc"));
H A Dmb_split_variation3.phpt2 Test mb_split() function : usage variations - different parameter types for limit
6 function_exists('mb_split') or die("skip mb_split() is not available in this build");
11 /* Prototype : proto array mb_split(string pattern, string string [, int limit])
17 echo "*** Testing mb_split() : usage variations ***\n";
96 var_dump( mb_split($pattern, $string, $input) );
104 *** Testing mb_split() : usage variations ***
288 Warning: mb_split() expects parameter 3 to be integer, string given in %s on line %d
293 Warning: mb_split() expects parameter 3 to be integer, string given in %s on line %d
298 Warning: mb_split() expects parameter 3 to be integer, string given in %s on line %d
303 Warning: mb_split() expects parameter 3 to be integer, string given in %s on line %d
[all …]
H A Dbug77370.phpt6 if (!function_exists('mb_split')) die('skip mb_split() not available');
10 var_dump(mb_split(" \xfd",""));
13 Warning: mb_split(): Pattern is not valid under UTF-8 encoding in %s on line %d
H A Dmb_split.phpt2 mb_split()
7 function_exists('mb_split') or die("skip mb_split() is not available in this build");
18 $result1 = mb_split( $spliton, $str, $count );
27 var_dump( mb_split( " ", "a b c d e f g" )
28 == mb_split( "[[:space:]]", "a\nb\tc\nd e f g" ) );
H A Dmb_split-compat-01.phpt2 mb_split() compat test 1
6 function_exists('mb_split') or die("skip mb_split() is not available in this build");
11 $a=mb_split("[[:space:]]","this is a
H A Dbug77418.phpt6 if (!function_exists('mb_split')) die('skip mb_split() not available');
11 var_dump(mb_split("\x00\x00\x00\x5c\x00\x00\x00B","000000000000000000000000000000"));
H A Dmb_split_variation2.phpt2 Test mb_split() function : usage variations - different parameter types for string
6 function_exists('mb_split') or die("skip mb_split() is not available in this build");
10 /* Prototype : proto array mb_split(string pattern, string string [, int limit])
17 echo "*** Testing mb_split() : usage variations ***\n";
96 var_dump( mb_split($pattern, $input, $limit) );
104 *** Testing mb_split() : usage variations ***
246 Warning: mb_split() expects parameter 2 to be string, resource given in %s on line %d
H A Dmb_split_variation1.phpt2 Test mb_split() function : usage variations - different parameter types for pattern
6 function_exists('mb_split') or die("skip mb_split() is not available in this build");
10 /* Prototype : proto array mb_split(string pattern, string string [, int limit])
16 echo "*** Testing mb_split() : usage variations ***\n";
95 var_dump( mb_split($input, $string, $limit) );
102 *** Testing mb_split() : usage variations ***
244 Warning: mb_split() expects parameter 1 to be string, resource given in %s on line %d
H A Dempty_pattern.phpt12 mb_split("","");
/PHP-7.2/ext/mbstring/
H A Dphp_mbregex.h38 PHP_FE(mb_split, arginfo_mb_split) \
52 PHP_FALIAS(mbsplit, mb_split, arginfo_mb_split) \
86 PHP_FUNCTION(mb_split);
H A Dphp_mbregex.c1093 PHP_FUNCTION(mb_split) in PHP_FUNCTION() argument

Completed in 15 milliseconds