Searched refs:split_length (Results 1 – 11 of 11) sorted by relevance
/PHP-7.4/ext/standard/tests/strings/ |
H A D | str_split_basic.phpt | 5 /* Prototype : array str_split(string $str [, int $split_length]) 6 * Description: Convert a string to an array. If split_length is 8 split_length characters long. 17 $split_length = 5; 21 var_dump( str_split($str,$split_length) ); 24 echo "-- With split_length as default argument --\n"; 44 -- With split_length as default argument --
|
H A D | str_split_variation7_64bit.phpt | 2 Test str_split() function : usage variations - different integer values for 'split_length' with her… 9 /* Prototype : array str_split(string $str [, int $split_length]) 10 * Description: Convert a string to an array. If split_length is 12 split_length characters long. 18 * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_s… 21 echo "*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***\n… 27 //different values for 'split_length' 39 //loop through each element of $values for 'split_length' 47 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
|
H A D | str_split_variation6.phpt | 2 Test str_split() function : usage variations - different integer values for 'split_length' argument 9 /* Prototype : array str_split(string $str [, int $split_length]) 10 * Description: Convert a string to an array. If split_length is 12 split_length characters long. 18 * passing different integer values for 'split_length' argument to str_split() 21 echo "*** Testing str_split() : different intger values for 'split_length' ***\n"; 25 //different values for 'split_length' 37 //loop through each element of $values for 'split_length' 45 *** Testing str_split() : different intger values for 'split_length' ***
|
H A D | str_split_variation6_64bit.phpt | 2 Test str_split() function : usage variations - different integer values for 'split_length' argument 9 /* Prototype : array str_split(string $str [, int $split_length]) 10 * Description: Convert a string to an array. If split_length is 12 split_length characters long. 18 * passing different integer values for 'split_length' argument to str_split() 21 echo "*** Testing str_split() : different intger values for 'split_length' ***\n"; 25 //different values for 'split_length' 37 //loop through each element of $values for 'split_length' 45 *** Testing str_split() : different intger values for 'split_length' ***
|
H A D | str_split_variation7.phpt | 2 Test str_split() function : usage variations - different integer values for 'split_length' with her… 9 /* Prototype : array str_split(string $str [, int $split_length]) 10 * Description: Convert a string to an array. If split_length is 12 split_length characters long. 18 * passing different integer values for 'split_length' and heredoc string as 'str' argument to str_s… 21 echo "*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***\n… 27 //different values for 'split_length' 39 //loop through each element of $values for 'split_length' 47 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
|
H A D | str_split_variation3.phpt | 5 /* Prototype : array str_split(string $str [, int $split_length]) 6 * Description: Convert a string to an array. If split_length is 8 split_length characters long. 15 * split_length is set to 7 21 $split_length = 7; 43 var_dump( str_split($values[$count], $split_length) );
|
H A D | str_split_variation4.phpt | 5 /* Prototype : array str_split(string $str [, int $split_length]) 6 * Description: Convert a string to an array. If split_length is 8 split_length characters long. 15 * split_length is set to 5 21 $split_length = 5; 42 var_dump( str_split($values[$count], $split_length) );
|
H A D | str_split_variation5.phpt | 5 /* Prototype : array str_split(string $str [, int $split_length] ) 6 * Description: Convert a string to an array. If split_length is 8 split_length characters long. 15 * with 'split_length' 10 21 $split_length = 10; 83 var_dump( str_split($str, $split_length) );
|
/PHP-7.4/ext/mbstring/ |
H A D | mbstring.c | 246 ZEND_ARG_INFO(0, split_length) 2323 size_t split_length; /* split length in chars */ member 2353 zend_long split_length = 1; in PHP_FUNCTION() local 2358 Z_PARAM_LONG(split_length) in PHP_FUNCTION() 2362 if (split_length <= 0) { in PHP_FUNCTION() 2387 chunk_len = split_length * 2; in PHP_FUNCTION() 2390 chunk_len = split_length * 4; in PHP_FUNCTION() 2396 array_init_size(return_value, (string.len + split_length) / split_length); /* round up */ in PHP_FUNCTION() 2417 array_init_size(return_value, (string.len + split_length) / split_length); /* round up */ in PHP_FUNCTION() 2440 .split_length = (size_t)split_length, in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/standard/ |
H A D | string.c | 6249 zend_long split_length = 1; local 6256 Z_PARAM_LONG(split_length) 6259 if (split_length <= 0) { 6265 if (0 == ZSTR_LEN(str) || (size_t)split_length >= ZSTR_LEN(str)) { 6271 array_init_size(return_value, (uint32_t)(((ZSTR_LEN(str) - 1) / split_length) + 1)); 6273 n_reg_segments = ZSTR_LEN(str) / split_length; 6277 add_next_index_stringl(return_value, p, split_length); 6278 p += split_length;
|
H A D | basic_functions.c | 2466 ZEND_ARG_INFO(0, split_length)
|
Completed in 96 milliseconds