Annotation of embedaddon/php/Zend/tests/bug36268.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #36268 (Object destructors called even after fatal errors)
                      3: --FILE--
                      4: <?php
                      5: class Foo {
                      6:        function __destruct() {
                      7:                echo "Ha!\n";
                      8:        }
                      9: }
                     10: $x = new Foo();
                     11: bar();
                     12: ?>
                     13: --EXPECTF--
                     14: Fatal error: Call to undefined function bar() in %sbug36268.php on line 8

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