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

1.1       misho       1: --TEST--
                      2: fopen() with relative path on a file in the script directory
                      3: --FILE--
                      4: <?php
                      5: 
                      6: $file = basename(__FILE__);
                      7: 
                      8: $fd = fopen($file, "r", true);
                      9: var_dump($fd);
                     10: fclose($fd);
                     11: 
                     12: ?>
                     13: --EXPECTF--
                     14: resource(%d) of type (stream)

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