1--TEST-- 2gzgetss — Get line from gz-file pointer and strip HTML tags - function 3--CREDITS-- 4marcosptf - <marcosptf@yahoo.com.br> 5--SKIPIF-- 6<?php 7 8<?php 9if(!extension_loaded("zlib")){die("skip - ZLIB extension not loaded");} 10?> 11--FILE-- 12<?php 13$handle = gzopen(__DIR__ . '/gzgetss.gz', 'r'); 14 15while (!gzeof($handle)){ 16 $buffer = gzgetss($handle, 4096, "<code>"); 17 print($buffer); 18} 19gzclose($handle); 20?> 21--EXPECT-- 22<code>stringgzgetss(resource $zp, int $length [, string $allowable_tags ]);<code/>