Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/tests/strings/
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_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() expects parameter 2 to be int, float given in %s 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() expects parameter 2 to be int, float given 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-7.4/ext/phar/
H A Dmakestub.php54 $s1split = str_split($s1, 2046);
55 $s3split = str_split($s3, 2046);
/PHP-7.4/ext/openssl/tests/
H A Dbug55646.phpt10 return implode(" ", str_split($unpacked[1],2));
H A Dbug77390.phpt93 $parts = str_split($data, (int) ceil(strlen($data) / 3));
/PHP-7.4/scripts/dev/
H A Dtidy.php96 foreach (str_split($matches[0]) as $char) {
/PHP-7.4/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc101 $checkheader = array_merge(str_split($block), str_split($blockend));
H A Dcorrupt_tarmaker.php.inc108 $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));
/PHP-7.4/ext/soap/tests/
H A Dbug47021.phpt19 $chunks = str_split($body, $n);
/PHP-7.4/ext/standard/
H A Dphp_string.h89 PHP_FUNCTION(str_split);
H A Dbasic_functions.c2799 PHP_FE(str_split, arginfo_str_split)
H A Dstring.c6246 PHP_FUNCTION(str_split) argument
/PHP-7.4/
H A DUPGRADING298 str_split(), but operating on code points rather than bytes.

Completed in 63 milliseconds