Searched refs:str_split (Results 1 – 21 of 21) sorted by relevance
/php-src/ext/standard/tests/strings/ |
H A D | str_split_basic.phpt | 2 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 D | str_split_variation7.phpt | 2 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 D | str_split_variation6.phpt | 2 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 D | str_split_variation5.phpt | 2 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 D | str_split_variation3.phpt | 2 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 D | str_split_variation4.phpt | 2 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 D | grapheme_str_split.phpt | 21 $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 nullbyte, length 1 [6e,75,6c,6c,00,62,79,74,65]
|
/php-src/ext/phar/ |
H A D | makestub.php | 54 $s1split = str_split($s1, 2046); 55 $s3split = str_split($s3, 2046);
|
/php-src/ext/fileinfo/ |
H A D | create_data_file.php | 39 $chunks = str_split($dta, CHUNK_SIZE);
|
/php-src/ext/openssl/tests/ |
H A D | bug55646.phpt | 10 return implode(" ", str_split($unpacked[1],2));
|
H A D | bug77390.phpt | 94 $parts = str_split($data, (int) ceil(strlen($data) / 3));
|
/php-src/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 101 $checkheader = array_merge(str_split($block), str_split($blockend));
|
H A D | corrupt_tarmaker.php.inc | 108 $checkheader = array_merge(str_split($block), str_split($blockend));
|
H A D | make.dangerous.tar.php.inc | 102 $checkheader = array_merge(str_split($block), str_split($blockend));
|
/php-src/scripts/dev/ |
H A D | tidy.php | 105 foreach (str_split($matches[0]) as $char) {
|
/php-src/ext/random/tests/03_randomizer/methods/ |
H A D | shuffleBytes.phpt | 27 $bytes = str_split($bytes);
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug47021.phpt | 18 $chunks = str_split($body, $n);
|
/php-src/ext/mbstring/tests/ |
H A D | utf_encodings.phpt | 985 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 D | basic_functions.stub.php | 2622 function str_split(string $string, int $length = 1): array {}
|
H A D | basic_functions_arginfo.h | 2579 ZEND_FUNCTION(str_split);
|
H A D | string.c | 6084 PHP_FUNCTION(str_split) argument
|
Completed in 77 milliseconds