Deleted Added
full compact
readgzfile_variation1.phpt (fc4a0d38) readgzfile_variation1.phpt (04145dc2)
1--TEST--
1--TEST--
2Test function readgzfile() by substituting agument 1 with array values.
2Test function readgzfile() by substituting argument 1 with array values.
3--SKIPIF--
4<?php
5if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');
6?>
7--FILE--
8<?php
9
10

--- 13 unchanged lines hidden (view full) ---

24
25foreach ( $variation as $var ) {
26 var_dump(readgzfile( $var , $use_include_path ) );
27}
28?>
29===DONE===
30--EXPECTF--
31
3--SKIPIF--
4<?php
5if (!extension_loaded('zlib')) die ('skip zlib extension not available in this build');
6?>
7--FILE--
8<?php
9
10

--- 13 unchanged lines hidden (view full) ---

24
25foreach ( $variation as $var ) {
26 var_dump(readgzfile( $var , $use_include_path ) );
27}
28?>
29===DONE===
30--EXPECTF--
31
32Warning: readgzfile() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
32Warning: readgzfile() expects parameter 1 to be string, array given in %s on line %d
33NULL
34
33NULL
34
35Warning: readgzfile() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
35Warning: readgzfile() expects parameter 1 to be string, array given in %s on line %d
36NULL
37
36NULL
37
38Warning: readgzfile() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
38Warning: readgzfile() expects parameter 1 to be string, array given in %s on line %d
39NULL
40
39NULL
40
41Warning: readgzfile() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
41Warning: readgzfile() expects parameter 1 to be string, array given in %s on line %d
42NULL
43===DONE===
42NULL
43===DONE===