1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00
Files
archived-php-src/ext/standard/tests/file/bug37864.phpt
T
2006-06-20 21:49:16 +00:00

13 lines
231 B
PHP

--TEST--
Bug #37864 (file_get_contents() leaks on empty file)
--FILE--
<?php
$tmpfname = tempnam("/tmp", "emptyfile");
var_dump(file_get_contents($tmpfname));
echo "done.\n";
unlink($tmpfname);
?>
--EXPECT--
string(0) ""
done.