Deleted Added
full compact
gzfile_variation14.phpt (fc4a0d38) gzfile_variation14.phpt (04145dc2)
1--TEST--
1--TEST--
2Test function gzfile() by substituting agument 2 with string values.
2Test function gzfile() by substituting argument 2 with string 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

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

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

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

25
26foreach ( $variation_array as $var ) {
27 var_dump(gzfile( $filename, $var ) );
28}
29?>
30===DONE===
31--EXPECTF--
32
33Warning: gzfile() expects parameter 2 to be long, Unicode string given in %s on line %d
33Warning: gzfile() expects parameter 2 to be long, string given in %s on line %d
34NULL
35
34NULL
35
36Warning: gzfile() expects parameter 2 to be long, Unicode string given in %s on line %d
36Warning: gzfile() expects parameter 2 to be long, string given in %s on line %d
37NULL
38
37NULL
38
39Warning: gzfile() expects parameter 2 to be long, Unicode string given in %s on line %d
39Warning: gzfile() expects parameter 2 to be long, string given in %s on line %d
40NULL
41
40NULL
41
42Warning: gzfile() expects parameter 2 to be long, Unicode string given in %s on line %d
42Warning: gzfile() expects parameter 2 to be long, string given in %s on line %d
43NULL
44===DONE===
43NULL
44===DONE===