1--TEST--
2Test function readgzfile() by substituting argument 1 with int values.
3--EXTENSIONS--
4zlib
5--FILE--
6<?php
7
8
9$use_include_path = false;
10
11
12$variation = array (
13    'int 0' => 0,
14    'int 1' => 1,
15    'int 12345' => 12345,
16    'int -12345' => -2345,
17    );
18
19
20foreach ( $variation as $var ) {
21  var_dump(readgzfile( $var ,  $use_include_path ) );
22}
23?>
24--EXPECTF--
25Warning: readgzfile(0): Failed to open stream: No such file or directory in %s on line %d
26bool(false)
27
28Warning: readgzfile(1): Failed to open stream: No such file or directory in %s on line %d
29bool(false)
30
31Warning: readgzfile(12345): Failed to open stream: No such file or directory in %s on line %d
32bool(false)
33
34Warning: readgzfile(-2345): Failed to open stream: No such file or directory in %s on line %d
35bool(false)
36