summaryrefslogtreecommitdiff
path: root/Zend/tests/bug32799.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug32799.phpt')
-rwxr-xr-xZend/tests/bug32799.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/Zend/tests/bug32799.phpt b/Zend/tests/bug32799.phpt
deleted file mode 100755
index 7b09a50274..0000000000
--- a/Zend/tests/bug32799.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Bug #32799 (crash: calling the corresponding global var during the destruct)
---FILE--
-<?php
-class test{
- public $c=1;
- function __destruct (){
- $GLOBALS['p']->c++; // no warning
- print $GLOBALS['p']->c."\n"; // segfault
- var_dump($GLOBALS['p']);
- }
-}
-$p=new test;
-$p=null; //destroy the object by a new assignment (segfault)
-?>
---EXPECT--
-2
-object(test)#1 (1) {
- ["c"]=>
- int(2)
-}