--TEST-- Test function readgzfile() by substituting argument 2 with emptyUnsetUndefNull values. --SKIPIF-- --FILE-- @$unset_var, 'undefined var' => @$undefined_var, 'empty string DQ' => "", 'empty string SQ' => '', 'uppercase NULL' => NULL, 'lowercase null' => null, ); foreach ( $variation as $var ) { var_dump(readgzfile( $filename, $var ) ); } ?> ===DONE=== --EXPECTF-- 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) Warning: readgzfile() expects parameter 2 to be integer, string given in %s on line %d NULL Warning: readgzfile() expects parameter 2 to be integer, string given in %s on line %d NULL 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) ===DONE===