summaryrefslogtreecommitdiff
path: root/Zend/tests/bug36759.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug36759.phpt')
-rwxr-xr-xZend/tests/bug36759.phpt27
1 files changed, 0 insertions, 27 deletions
diff --git a/Zend/tests/bug36759.phpt b/Zend/tests/bug36759.phpt
deleted file mode 100755
index 8aa9977a06..0000000000
--- a/Zend/tests/bug36759.phpt
+++ /dev/null
@@ -1,27 +0,0 @@
---TEST--
-Bug #36759 (Objects destructors are invoked in wrong order when script is finished)
---FILE--
-<?php
-class Foo {
- private $bar;
- function __construct($bar) {
- $this->bar = $bar;
- }
- function __destruct() {
- echo __METHOD__,"\n";
- unset($this->bar);
- }
-}
-
-class Bar {
- function __destruct() {
- echo __METHOD__,"\n";
- unset($this->bar);
- }
-}
-$y = new Bar();
-$x = new Foo($y);
-?>
---EXPECT--
-Foo::__destruct
-Bar::__destruct