Home
last modified time | relevance | path

Searched refs:str_split (Results 1 – 19 of 19) sorted by relevance

/PHP-5.3/ext/standard/tests/strings/
H A Dstr_split_error.phpt2 Test str_split() function : error conditions
5 /* Prototype : array str_split(string $str [, int $split_length])
13 echo "*** Testing str_split() : error conditions ***\n";
16 echo "-- Testing str_split() function with Zero arguments --\n";
17 var_dump( str_split() );
19 //Test str_split with one more than the expected number of arguments
24 var_dump( str_split( $str, $split_length, $extra_arg) );
29 *** Testing str_split() : error conditions ***
30 -- Testing str_split() function with Zero arguments --
32 Warning: str_split() expects at least 1 parameter, 0 given in %s on line %d
[all …]
H A Dstr_split_variation2_64bit.phpt2 Test str_split() function : usage variations - unexpected values for 'split_length' argument
9 /* Prototype : array str_split(string $str [, int $split_length])
17 echo "*** Testing str_split() : unexpected values for 'split_length' ***\n";
89 var_dump( str_split($str, $values[$count]) );
98 *** Testing str_split() : unexpected values for 'split_length' ***
127 Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
131 Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
135 Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
139 Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
143 Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
[all …]
H A Dstr_split_variation2.phpt2 Test str_split() function : usage variations - unexpected values for 'split_length' argument
9 /* Prototype : array str_split(string $str [, int $split_length])
17 echo "*** Testing str_split() : unexpected values for 'split_length' ***\n";
89 var_dump( str_split($str, $values[$count]) );
98 *** Testing str_split() : unexpected values for 'split_length' ***
126 Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on l…
130 Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on l…
134 Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on l…
138 Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on l…
142 Warning: str_split() expects parameter 2 to be long, array given in %sstr_split_variation2.php on l…
[all …]
H A Dstr_split_basic.phpt2 Test str_split() function : basic functionality
5 /* Prototype : array str_split(string $str [, int $split_length])
13 echo "*** Testing str_split() : basic functionality ***\n";
19 // Calling str_split() with all possible arguments
21 var_dump( str_split($str,$split_length) );
23 // Calling str_split() with default arguments
25 var_dump( str_split($str) );
30 *** Testing str_split() : basic functionality ***
H A Dstr_split_variation1.phpt2 Test str_split() function : usage variations - unexpected values for 'str' argument
5 /* Prototype : array str_split(string $str [, int $split_length])
13 echo "*** Testing str_split() : unexpected values for 'str' ***\n";
87 var_dump( str_split($values[$count], $split_length) );
96 *** Testing str_split() : unexpected values for 'str' ***
162 Warning: str_split() expects parameter 1 to be string, array given in %s on line %d
166 Warning: str_split() expects parameter 1 to be string, array given in %s on line %d
170 Warning: str_split() expects parameter 1 to be string, array given in %s on line %d
174 Warning: str_split() expects parameter 1 to be string, array given in %s on line %d
178 Warning: str_split() expects parameter 1 to be string, array given in %s on line %d
[all …]
H A Dstr_split_variation6.phpt2 Test str_split() function : usage variations - different integer values for 'split_length' argument
9 /* Prototype : array str_split(string $str [, int $split_length])
18 * passing different integer values for 'split_length' argument to str_split()
21 echo "*** Testing str_split() : different intger values for 'split_length' ***\n";
40 var_dump( str_split($str, $values[$count]) );
45 *** Testing str_split() : different intger values for 'split_length' ***
48 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
139 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
160 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
164 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
H A Dstr_split_variation7.phpt2 Test str_split() function : usage variations - different integer values for 'split_length' with her…
9 /* Prototype : array str_split(string $str [, int $split_length])
18 …ing different integer values for 'split_length' and heredoc string as 'str' argument to str_split()
21 echo "*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***\n…
42 var_dump( str_split($str, $values[$count]) );
47 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
50 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
117 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
138 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
142 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
H A Dstr_split_variation7_64bit.phpt2 Test str_split() function : usage variations - different integer values for 'split_length' with her…
9 /* Prototype : array str_split(string $str [, int $split_length])
18 …ing different integer values for 'split_length' and heredoc string as 'str' argument to str_split()
21 echo "*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***\n…
42 var_dump( str_split($str, $values[$count]) );
47 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
50 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
117 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
143 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
H A Dstr_split_variation6_64bit.phpt2 Test str_split() function : usage variations - different integer values for 'split_length' argument
9 /* Prototype : array str_split(string $str [, int $split_length])
18 * passing different integer values for 'split_length' argument to str_split()
21 echo "*** Testing str_split() : different intger values for 'split_length' ***\n";
40 var_dump( str_split($str, $values[$count]) );
45 *** Testing str_split() : different intger values for 'split_length' ***
48 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
139 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
165 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
H A Dstr_split_variation5.phpt2 Test str_split() function : usage variations - different heredoc strings as 'str' argument
5 /* Prototype : array str_split(string $str [, int $split_length] )
14 * Passing different heredoc strings as 'str' argument to the str_split()
18 echo "*** Testing str_split() : heredoc strings as 'str' argument ***\n";
49 This checks\t str_split()\nEscape\rchars
54 This is to check str_split
83 var_dump( str_split($str, $split_length) );
90 *** Testing str_split() : heredoc strings as 'str' argument ***
H A Dstr_split_variation3.phpt2 Test str_split() function : usage variations - different double quoted strings for 'str' argument
5 /* Prototype : array str_split(string $str [, int $split_length])
14 * passing different double quoted strings as 'str' argument to str_split()
18 echo "*** Testing str_split() : double quoted strings for 'str' ***\n";
43 var_dump( str_split($values[$count], $split_length) );
48 *** Testing str_split() : double quoted strings for 'str' ***
H A Dstr_split_variation4.phpt2 Test str_split() function : usage variations - different single quoted strings for 'str' argument
5 /* Prototype : array str_split(string $str [, int $split_length])
14 * passing different single quoted strings as 'str' argument to str_split()
18 echo "*** Testing str_split() : single quoted strings for 'str' ***\n";
42 var_dump( str_split($values[$count], $split_length) );
47 *** Testing str_split() : single quoted strings for 'str' ***
/PHP-5.3/ext/phar/
H A Dmakestub.php56 $s1split = str_split($s1, 2046);
57 $s3split = str_split($s3, 2046);
/PHP-5.3/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc101 $checkheader = array_merge(str_split($block), str_split($blockend));
H A Dmake.dangerous.tar.php.inc102 $checkheader = array_merge(str_split($block), str_split($blockend));
H A Dcorrupt_tarmaker.php.inc108 $checkheader = array_merge(str_split($block), str_split($blockend));
/PHP-5.3/ext/standard/
H A Dphp_string.h92 PHP_FUNCTION(str_split);
H A Dstring.c5197 PHP_FUNCTION(str_split) argument
H A Dbasic_functions.c2746 PHP_FE(str_split, arginfo_str_split)

Completed in 162 milliseconds