1--TEST-- 2Test function readgzfile() by substituting argument 2 with int values. 3--EXTENSIONS-- 4zlib 5--FILE-- 6<?php 7 8 9$filename = __DIR__."/004.txt.gz"; 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( $filename, $var ) ); 22} 23?> 24--EXPECT-- 25When you're taught through feelings 26Destiny flying high above 27all I know is that you can realize it 28Destiny who cares 29as it turns around 30and I know that it descends down on me 31int(176) 32When you're taught through feelings 33Destiny flying high above 34all I know is that you can realize it 35Destiny who cares 36as it turns around 37and I know that it descends down on me 38int(176) 39When you're taught through feelings 40Destiny flying high above 41all I know is that you can realize it 42Destiny who cares 43as it turns around 44and I know that it descends down on me 45int(176) 46When you're taught through feelings 47Destiny flying high above 48all I know is that you can realize it 49Destiny who cares 50as it turns around 51and I know that it descends down on me 52int(176) 53