summaryrefslogtreecommitdiff
path: root/Zend/tests/bug32226.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug32226.phpt')
-rwxr-xr-xZend/tests/bug32226.phpt36
1 files changed, 0 insertions, 36 deletions
diff --git a/Zend/tests/bug32226.phpt b/Zend/tests/bug32226.phpt
deleted file mode 100755
index 9536c921a3..0000000000
--- a/Zend/tests/bug32226.phpt
+++ /dev/null
@@ -1,36 +0,0 @@
---TEST--
-Bug #32226 (SEGV with exception handler on non existing instance)
---FILE--
-<?php
-
-class A
-{
- public function A()
- {
- set_exception_handler(array($this, 'EH'));
-
- throw new Exception();
- }
-
- public function EH()
- {
- restore_exception_handler();
-
- throw new Exception();
- }
-}
-
-try
-{
-$a = new A();
-}
-catch(Exception $e)
-{
- echo "Caught\n";
-}
-
-?>
-===DONE===
---EXPECT--
-Caught
-===DONE===