summaryrefslogtreecommitdiff
path: root/Zend/tests/bug35017.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug35017.phpt')
-rwxr-xr-xZend/tests/bug35017.phpt21
1 files changed, 0 insertions, 21 deletions
diff --git a/Zend/tests/bug35017.phpt b/Zend/tests/bug35017.phpt
deleted file mode 100755
index 0a89d23aa1..0000000000
--- a/Zend/tests/bug35017.phpt
+++ /dev/null
@@ -1,21 +0,0 @@
---TEST--
-Bug #35017 (Exception thrown in error handler may cause unexpected behavior)
---FILE--
-<?php
-set_error_handler('errorHandler');
-try {
- if ($a) {
- echo "1\n";
- } else {
- echo "0\n";
- }
- echo "?\n";
-} catch(Exception $e) {
- echo "This Exception should be catched\n";
-}
-function errorHandler($errno, $errstr, $errfile, $errline, $vars) {
- throw new Exception('Some Exception');
-}
-?>
---EXPECT--
-This Exception should be catched