Home
last modified time | relevance | path

Searched refs:mb_split (Results 1 – 11 of 11) sorted by last modified time

/PHP-5.4/ext/mbstring/tests/
H A Dmb_split.phpt2 mb_split()
6 function_exists('mb_split') or die("skip mb_split() is not available in this build");
17 $result1 = mb_split( $spliton, $str, $count );
26 var_dump( mb_split( b" ", b"a b c d e f g" )
27 == mb_split( b"[[:space:]]", b"a\nb\tc\nd e f g" ) );
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_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 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_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");
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($pattern, $string, $input) );
103 *** Testing mb_split() : usage variations ***
287 Warning: mb_split() expects parameter 3 to be long, string given in %s on line %d
292 Warning: mb_split() expects parameter 3 to be long, string given in %s on line %d
297 Warning: mb_split() expects parameter 3 to be long, string given in %s on line %d
302 Warning: mb_split() expects parameter 3 to be long, string given in %s on line %d
[all …]
H A Dempty_pattern.phpt9 mb_split("","");
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 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"));
/PHP-5.4/ext/mbstring/
H A Dphp_mbregex.c1051 PHP_FUNCTION(mb_split) in PHP_FUNCTION() argument
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);
/PHP-5.4/
H A DNEWS1156 . mb_split() can now handle empty matches like preg_split() does. (Moriyoshi)

Completed in 48 milliseconds