/PHP-5.5/ext/standard/tests/strings/ |
H A D | chunk_split_basic.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * arguments as well as with default arguments chunklen and ending 21 $chunklen = 2; 26 var_dump( chunk_split($str, $chunklen, $ending) ); 31 var_dump( chunk_split($str, $chunklen) ); 34 //Calling chunk_split() with default chunklen and ending string 35 echo "-- Testing chunk_split() with default chunklen and ending string --\n"; 50 -- Testing chunk_split() with default chunklen and ending string --
|
H A D | chunk_split_variation13.phpt | 2 Test chunk_split() function : usage variations - default 'chunklen' with long string as 'str'argume… 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 12 * passing long string as 'str' and testing default value of chunklen which is 76 15 echo "*** Testing chunk_split() : default 'chunklen' with long string 'str' ***\n"; 23 //loop through each element of values for 'str' and default value of 'chunklen' 32 *** Testing chunk_split() : default 'chunklen' with long string 'str' ***
|
H A D | chunk_split_variation5.phpt | 2 Test chunk_split() function : usage variations - different integer values for 'chunklen' argument(B… 9 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 16 * passsing different integer values for 'chunklen' argument to chunk_split() 20 echo "*** Testing chunk_split() : different integer values for 'chunklen' ***\n"; 26 // different values for chunklen 47 *** Testing chunk_split() : different integer values for 'chunklen' ***
|
H A D | chunk_split_variation8.phpt | 2 Test chunk_split() function : usage variations - different integer values for 'chunklen' with hered… 9 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 16 * passing different integer values for 'chunklen' and heredoc string for 'str' to chunk_split() 19 echo "*** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***\n"; 32 // different values for 'chunklen' 46 // loop through each element of values for 'chunklen' 55 *** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***
|
H A D | chunk_split_error.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 24 $chunklen = 5; 28 var_dump( chunk_split($str, $chunklen, $ending, $extra_arg) );
|
H A D | chunk_split_variation4.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * with 'chunklen' 4 and default value of 'ending' that is "\r\n" 19 $chunklen = 4; 81 var_dump( chunk_split( $str, $chunklen) );
|
H A D | chunk_split_variation6.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * 'chunklen' is set to 7 and 'ending' is '):(' 19 $chunklen = 7; 43 var_dump( chunk_split($values[$count], $chunklen, $ending) );
|
H A D | chunk_split_variation7.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * here 'chunklen' is set to 5 and 'ending' is "????" 19 $chunklen = 5; 41 var_dump( chunk_split( $values[$count], $chunklen, $ending) );
|
H A D | chunk_split_variation11.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * 'chunklen' is set to 6E0 for this testcase 25 $chunklen = 6E+0; 41 var_dump( chunk_split($heredoc_str, $chunklen, $values[$count]) );
|
H A D | chunk_split_variation2.phpt | 2 Test chunk_split() function : usage variations - unexpected values for 'chunklen' argument(Bug#4279… 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 11 echo "*** Testing chunk_split() : with unexpected values for 'chunklen' argument ***\n"; 80 // loop through each element of the values for 'chunklen' 92 *** Testing chunk_split() : with unexpected values for 'chunklen' argument ***
|
H A D | chunk_split_variation9.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * here 'chunklen' is set to 6.5 20 $chunklen = 6.5; 47 var_dump( chunk_split($str, $chunklen, $values[$count]) );
|
H A D | chunk_split_variation1.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 14 $chunklen = 2; 90 var_dump( chunk_split($values[$count], $chunklen, $ending) );
|
H A D | chunk_split_variation10.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * 'chunklen' is set to 9.2 for this testcase 21 $chunklen = 9.2; 49 var_dump( chunk_split($str, $chunklen, $values[$count]) );
|
H A D | chunk_split_variation3.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 15 $chunklen = 4.9; 86 var_dump( chunk_split($str, $chunklen, $values[$count]) );
|
H A D | chunk_split_variation12.phpt | 5 /* Prototype : string chunk_split(string $str [, int $chunklen [, string $ending]]) 13 * 'chunklen' argument is set to 10 19 $chunklen = 10; 80 var_dump( chunk_split( $str, $chunklen, $value) );
|
/PHP-5.5/ext/mcrypt/ |
H A D | mcrypt_filter.c | 63 int chunklen = bucket->buflen + data->block_used, n; in php_mcrypt_filter() local 66 outchunk = pemalloc(chunklen, data->persistent); in php_mcrypt_filter() 72 for(n=0; (n + data->blocksize) <= chunklen; n += data->blocksize) { in php_mcrypt_filter() 80 data->block_used = chunklen - n; in php_mcrypt_filter()
|
/PHP-5.5/ext/standard/ |
H A D | string.c | 2151 static char *php_chunk_split(char *src, int srclen, char *end, int endlen, int chunklen, int *destl… argument 2159 chunks = srclen / chunklen; 2160 restlen = srclen - chunks * chunklen; /* srclen % chunklen */ 2177 for (p = src, q = dest; p < (src + srclen - chunklen + 1); ) { 2178 memcpy(q, p, chunklen); 2179 q += chunklen; 2182 p += chunklen; 2209 long chunklen = 76; local 2217 if (chunklen <= 0) { 2222 if (chunklen > str_len) { [all …]
|
H A D | basic_functions.c | 2289 ZEND_ARG_INFO(0, chunklen)
|
/PHP-5.5/ |
H A D | NEWS | 9625 - Fixed bug #32530 (chunk_split() does not append endstr if chunklen is 9869 - Fixed bug #31479 (Fixed crash in chunk_split(), when chunklen > strlen). (Ilia)
|