Annotation of embedaddon/php/ext/standard/tests/file/bug37864.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #37864 (file_get_contents() leaks on empty file)
                      3: --FILE--
                      4: <?php
                      5:        $tmpfname = tempnam(sys_get_temp_dir(), "emptyfile");
                      6:        var_dump(file_get_contents($tmpfname));
                      7:        echo "done.\n";
                      8:        unlink($tmpfname);
                      9: ?>
                     10: --EXPECT--
                     11: string(0) ""
                     12: done.

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>