8000 test to gzgetss function by marcosptf · Pull Request #1479 · php/php-src · GitHub
[go: up one dir, main page]

Skip to content

test to gzgetss function #1479

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 11 commits into from
Closed
Prev Previous commit
Next Next commit
fixing the path dir
  • Loading branch information
marcosptf committed Aug 21, 2015
commit f9c5051af25dadcd96831059aa25283a0d28ac58
3 changes: 2 additions & 1 deletion ext/zlib/tests/gzgetss.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ if(!extension_loaded("zlib")){die("skip - ZLIB extension not loaded");}
?>
--FILE--
<?php
$handle = gzopen('gzgetss.gz', 'r');
$handle = gzopen(__DIR__ . '/gzgetss.gz', 'r');

while (!gzeof($handle)){
$buffer = gzgetss($handle, 4096);
print($buffer);
Expand Down
0