Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/strings/
H A Dchunk_split_basic.phpt2 Test chunk_split() function : basic functionality
10 echo "*** Testing chunk_split() : basic functionality ***\n";
18 // Calling chunk_split() with all possible arguments
20 var_dump( chunk_split($str, $chunklen, $ending) );
23 // Calling chunk_split() with default ending string
25 var_dump( chunk_split($str, $chunklen) );
28 //Calling chunk_split() with default chunklen and ending string
30 var_dump( chunk_split($str) );
35 *** Testing chunk_split() : basic functionality ***
36 -- Testing chunk_split() with all possible arguments --
[all …]
H A Dchunk_split.phpt2 chunk_split() function
5 echo chunk_split('abc', 1, '-')."\n";
6 echo chunk_split('foooooooooooooooo', 5)."\n";
7 echo chunk_split(str_repeat('X', 2*76))."\n";
8 echo chunk_split("test", 10, "|end") . "\n";
H A Dchunk_split_variation3.phpt2 Test chunk_split() function : usage variations - unexpected large number of chunks
11 echo "*** Testing chunk_split() : unexpected large 'end' string argument variation 2 ***\n";
16 echo "Using chunk_split()\n";
17 var_dump(chunk_split($body, $chunk_length));
20 *** Testing chunk_split() : unexpected large 'end' string argument variation 2 ***
22 Using chunk_split()
H A Dchunk_split_variation8.phpt13 echo "*** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***\n";
21 chunk_split()
44 var_dump( chunk_split($heredoc_str, $values[$count], $ending) );
54 *** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***
56 chunk_split(): Argument #2 ($length) must be greater than 0
63 chunk_split(): Argument #2 ($length) must be greater than 0
68 chunk_split():::"
73 chunk_split():::"
78 chunk_split():::"
80 chunk_split(): Argument #2 ($length) must be of type int, float given
[all …]
H A Dchunk_split_variation5.phpt2 Test chunk_split() function : usage variations - different integer values for 'chunklen' argument(B…
10 * passsing different integer values for 'chunklen' argument to chunk_split()
14 echo "*** Testing chunk_split() : different integer values for 'chunklen' ***\n";
36 var_dump( chunk_split($str, $values[$count], $ending) );
46 *** Testing chunk_split() : different integer values for 'chunklen' ***
48 chunk_split(): Argument #2 ($length) must be greater than 0
53 chunk_split(): Argument #2 ($length) must be greater than 0
64 chunk_split(): Argument #2 ($length) must be of type int, float given
66 chunk_split(): Argument #2 ($length) must be greater than 0
H A Dchunk_split_variation2_32bit.phpt2 Test chunk_split() function : usage variations - unexpected large '$end' string argument variation 2
9 echo "*** Testing chunk_split() : unexpected large 'end' string argument variation 2 ***\n";
14 var_dump(chunk_split($a,$b,$c));
17 *** Testing chunk_split() : unexpected large 'end' string argument variation 2 ***
H A Dchunk_split_variation13.phpt2 Test chunk_split() function : usage variations - default 'chunklen' with long string as 'str'argume…
9 echo "*** Testing chunk_split() : default 'chunklen' with long string 'str' ***\n";
20 var_dump( chunk_split($values[$count]) );
26 *** Testing chunk_split() : default 'chunklen' with long string 'str' ***
H A Dchunk_split_variation1_32bit.phpt2 Test chunk_split() function : usage variations - unexpected large '$end' string argument variation 1
10 echo "*** Testing chunk_split() : unexpected large 'end' string argument variation 1 ***\n";
15 var_dump(chunk_split($a,$b,$c));
18 *** Testing chunk_split() : unexpected large 'end' string argument variation 1 ***
H A Dchunk_split_variation12.phpt47 This is to check chunk_split
97 heredocr to checkThis is to check chunk_split
99 heredoc with hereThis is to check chunk_split
101 heredocdoc endingThis is to check chunk_split
103 heredoc.This contThis is to check chunk_split
106 specThis is to check chunk_split
108 heredoci@! ch@r$ This is to check chunk_split
110 heredoc__with wroThis is to check chunk_split
112 heredocng \k escaThis is to check chunk_split
114 heredocpe char 22This is to check chunk_split
[all …]
H A Dchunk_split_variation4.phpt2 Test chunk_split() function : usage variations - different heredoc strings as 'str' argument
6 * Passing different heredoc strings as 'str' argument to the chunk_split()
10 echo "*** Testing chunk_split() : heredoc strings as 'str' argument ***\n";
41 This checks\t chunk_split()\nEscape\rchars
46 This is to check chunk_split
75 var_dump( chunk_split( $str, $chunklen) );
82 *** Testing chunk_split() : heredoc strings as 'str' argument ***
H A Dchunk_split_variation7.phpt2 Test chunk_split() function : usage variations - different double quoted values for 'str' argument
6 * Passing different double quoted strings for 'str' argument to chunk_split()
10 echo "*** Testing chunk_split() : with different double quoted values for 'str' argument ***\n";
35 var_dump( chunk_split( $values[$count], $chunklen, $ending) );
41 *** Testing chunk_split() : with different double quoted values for 'str' argument ***
H A Dchunk_split_variation9.phpt2 Test chunk_split() function : usage variations - different double quoted strings for 'ending' argum…
6 * passing different double quoted strings for 'ending' argument to chunk_split()
10 echo "*** Testing chunk_split() : different strings for 'ending' ***\n";
13 $str = "This is to test chunk_split() with various ending string";
41 var_dump( chunk_split($str, $chunklen, $values[$count]) );
47 *** Testing chunk_split() : different strings for 'ending' ***
49 string(56) "This is to test chunk_split() with various ending string"
H A Dchunk_split_variation10.phpt2 Test chunk_split() function : usage variations - different single quoted strings for 'ending' argum…
6 * passing different single quoted strings for 'ending' arguments to chunk_split()
10 echo "*** Testing chunk_split() : different single quoted strings as 'ending' ***\n";
14 $str = "This is to test chunk_split() with various 'single quoted' ending string.";
43 var_dump( chunk_split($str, $chunklen, $values[$count]) );
49 *** Testing chunk_split() : different single quoted strings as 'ending' ***
51 string(73) "This is to test chunk_split() with various 'single quoted' ending string."
H A Dchunk_split_variation6.phpt2 Test chunk_split() function : usage variations - single quoted strings for 'str' argument
10 echo "*** Testing chunk_split() : with different single quoted 'str' ***\n";
37 var_dump( chunk_split($values[$count], $chunklen, $ending) );
43 *** Testing chunk_split() : with different single quoted 'str' ***
H A Dchunk_split_variation11.phpt2 Test chunk_split() function : usage variations - different strings for 'ending' with heredoc 'str'
6 * passing different strings for 'ending' and heredoc string as 'str' to chunk_split()
10 echo "*** Testing chunk_split() : different values for 'ending' with heredoc 'str'***\n";
35 var_dump( chunk_split($heredoc_str, $chunklen, $values[$count]) );
41 *** Testing chunk_split() : different values for 'ending' with heredoc 'str'***
H A Dbug24312.phpt7 $enc = chunk_split(base64_encode($data), 10, chr($i));
H A Dbug40754.phpt74 var_dump(chunk_split("abcde", $v, "abc"));
/PHP-8.0/ext/standard/tests/url/
H A Dbug55273.phpt6 $v = chunk_split(base64_encode($s));
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php604 function chunk_split(string $string, int $length = 76, string $separator = "\r\n"): string {} function
H A Dbasic_functions_arginfo.h2476 ZEND_FUNCTION(chunk_split);
3113 ZEND_FE(chunk_split, arginfo_chunk_split)
H A Dstring.c2123 PHP_FUNCTION(chunk_split) argument

Completed in 65 milliseconds