diff options
Diffstat (limited to 'tests/classes/bug27468.phpt')
-rw-r--r-- | tests/classes/bug27468.phpt | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/classes/bug27468.phpt b/tests/classes/bug27468.phpt deleted file mode 100644 index 971273224d..0000000000 --- a/tests/classes/bug27468.phpt +++ /dev/null @@ -1,15 +0,0 @@ ---TEST-- -Bug #27468 (foreach in __destruct() causes segfault) ---FILE-- -<?php -class foo { - function __destruct() { - foreach ($this->x as $x); - } -} -new foo(); -echo 'OK'; -?> ---EXPECTF-- -Warning: Invalid argument supplied for foreach() in %sbug27468.php on line 4 -OK |