Annotation of embedaddon/php/ext/spl/tests/bug46051.phpt, revision 1.1

1.1     ! misho       1: --TEST--
        !             2: Bug #46051 (SplFileInfo::openFile - memory overlap)
        !             3: --FILE--
        !             4: <?php
        !             5: 
        !             6: $x = new splfileinfo(__FILE__);
        !             7: 
        !             8: try {
        !             9: $x->openFile(NULL, NULL, NULL);
        !            10: } catch (Exception $e) { }
        !            11: 
        !            12: var_dump($x->getPathName());
        !            13: --EXPECTF--
        !            14: %unicode|string%(%d) "%sbug46051.php"

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