12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- --TEST--
- Test function readgzfile() by substituting argument 2 with int values.
- --EXTENSIONS--
- zlib
- --FILE--
- <?php
- $filename = __DIR__."/004.txt.gz";
- $variation = array (
- 'int 0' => 0,
- 'int 1' => 1,
- 'int 12345' => 12345,
- 'int -12345' => -2345,
- );
- foreach ( $variation as $var ) {
- var_dump(readgzfile( $filename, $var ) );
- }
- ?>
- --EXPECT--
- When you're taught through feelings
- Destiny flying high above
- all I know is that you can realize it
- Destiny who cares
- as it turns around
- and I know that it descends down on me
- int(176)
- When you're taught through feelings
- Destiny flying high above
- all I know is that you can realize it
- Destiny who cares
- as it turns around
- and I know that it descends down on me
- int(176)
- When you're taught through feelings
- Destiny flying high above
- all I know is that you can realize it
- Destiny who cares
- as it turns around
- and I know that it descends down on me
- int(176)
- When you're taught through feelings
- Destiny flying high above
- all I know is that you can realize it
- Destiny who cares
- as it turns around
- and I know that it descends down on me
- int(176)
|