Home
last modified time | relevance | path

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

/php-src/ext/standard/tests/strings/
H A Dstr_split_basic.phpt2 Test str_split() function : basic functionality
5 echo "*** Testing str_split() : basic functionality ***\n";
11 // Calling str_split() with all possible arguments
13 var_dump( str_split($str,$split_length) );
15 // Calling str_split() with default arguments
17 var_dump( str_split($str) );
20 var_dump( str_split('') );
21 var_dump( str_split('', 1) );
22 var_dump( str_split('', 100) );
26 *** Testing str_split() : basic functionality ***
H A Dstr_split_variation7.phpt2 Test str_split() function : usage variations - different integer values for 'split_length' with her…
6 …ing different integer values for 'split_length' and heredoc string as 'str' argument to str_split()
9 echo "*** Testing str_split() : different integer values for 'split_length' with heredoc 'str' ***\…
31 var_dump( str_split($str, $values[$count]) );
38 *** Testing str_split() : different integer values for 'split_length' with heredoc 'str' ***
40 str_split(): Argument #2 ($length) must be greater than 0
105 str_split(): Argument #2 ($length) must be greater than 0
124 str_split(): Argument #2 ($length) must be greater than 0
H A Dstr_split_variation6.phpt2 Test str_split() function : usage variations - different integer values for 'split_length' argument
6 * passing different integer values for 'split_length' argument to str_split()
9 echo "*** Testing str_split() : different integer values for 'split_length' ***\n";
29 var_dump( str_split($str, $values[$count]) );
36 *** Testing str_split() : different integer values for 'split_length' ***
38 str_split(): Argument #2 ($length) must be greater than 0
127 str_split(): Argument #2 ($length) must be greater than 0
146 str_split(): Argument #2 ($length) must be greater than 0
H A Dstr_split_variation5.phpt2 Test str_split() function : usage variations - different heredoc strings as 'str' argument
6 * Passing different heredoc strings as 'str' argument to the str_split()
10 echo "*** Testing str_split() : heredoc strings as 'str' argument ***\n";
41 This checks\t str_split()\nEscape\rchars
46 This is to check str_split
75 var_dump( str_split($str, $split_length) );
82 *** 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
6 * passing different double quoted strings as 'str' argument to str_split()
10 echo "*** Testing str_split() : double quoted strings for 'str' ***\n";
35 var_dump( str_split($values[$count], $split_length) );
40 *** 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
6 * passing different single quoted strings as 'str' argument to str_split()
10 echo "*** Testing str_split() : single quoted strings for 'str' ***\n";
34 var_dump( str_split($values[$count], $split_length) );
39 *** Testing str_split() : single quoted strings for 'str' ***
/php-src/ext/intl/tests/
H A Dgrapheme_str_split.phpt21 $res_str .= "grapheme cluster for str_split - param {$test[0]}, length {$test[1]} ";
53 grapheme cluster for str_split - param abc, length 3 [616263]
54 grapheme cluster for str_split - param abc, length 2 [6162,63]
55 grapheme cluster for str_split - param abc, length 1 [61,62,63]
56 grapheme cluster for str_split - param 土下座��‍♀を, length 1 [e59c9f,e4b88b,e5baa7,f09f9987e2808de2998…
57 grapheme cluster for str_split - param 土下座��‍♀を, length 6 [e59c9fe4b88be5baa7f09f9987e2808de29980e3…
58 grapheme cluster for str_split - param null�byte, length 1 [6e,75,6c,6c,00,62,79,74,65]
/php-src/ext/phar/
H A Dmakestub.php54 $s1split = str_split($s1, 2046);
55 $s3split = str_split($s3, 2046);
/php-src/ext/fileinfo/
H A Dcreate_data_file.php39 $chunks = str_split($dta, CHUNK_SIZE);
/php-src/ext/openssl/tests/
H A Dbug55646.phpt10 return implode(" ", str_split($unpacked[1],2));
H A Dbug77390.phpt94 $parts = str_split($data, (int) ceil(strlen($data) / 3));
/php-src/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-src/scripts/dev/
H A Dtidy.php105 foreach (str_split($matches[0]) as $char) {
/php-src/ext/random/tests/03_randomizer/methods/
H A DshuffleBytes.phpt27 $bytes = str_split($bytes);
/php-src/ext/soap/tests/bugs/
H A Dbug47021.phpt18 $chunks = str_split($body, $n);
/php-src/ext/mbstring/tests/
H A Dutf_encodings.phpt985 foreach (str_split("'(),-./:?") as $char)
991 foreach (str_split(" \t\r\n\x00") as $char)
1040 foreach (str_split(" \t\r\n'(),.:?!\"#$%&*;<=>@[]^_`{|}\x00") as $char) {
/php-src/ext/standard/
H A Dbasic_functions.stub.php2622 function str_split(string $string, int $length = 1): array {}
H A Dbasic_functions_arginfo.h2579 ZEND_FUNCTION(str_split);
H A Dstring.c6084 PHP_FUNCTION(str_split) argument

Completed in 77 milliseconds