1--TEST-- 2Test function stream_get_meta_data on a zlib stream 3--SKIPIF-- 4<?php 5if (!extension_loaded("zlib")) { 6 print "skip - ZLIB extension not loaded"; 7} 8?> 9--FILE-- 10<?php 11$f = dirname(__FILE__)."/004.txt.gz"; 12$h = gzopen($f,'r'); 13var_dump(flock($h, LOCK_SH)); 14gzclose($h); 15?> 16===DONE=== 17--EXPECT-- 18bool(false) 19===DONE=== 20