summaryrefslogtreecommitdiff
path: root/Zend/tests/bug72057.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug72057.phpt')
-rw-r--r--Zend/tests/bug72057.phpt19
1 files changed, 0 insertions, 19 deletions
diff --git a/Zend/tests/bug72057.phpt b/Zend/tests/bug72057.phpt
deleted file mode 100644
index a518d82948..0000000000
--- a/Zend/tests/bug72057.phpt
+++ /dev/null
@@ -1,19 +0,0 @@
---TEST--
-Bug #72057 (PHP hangs when user error handler throws exception after Notice from type coercion)
---FILE--
-<?php
-
-set_error_handler(
- function() {
- throw new Exception("My custom error");
- }
-);
-
-(function (int $i) { bar(); })("7as");
---EXPECTF--
-Fatal error: Uncaught Exception: My custom error in %s:%d
-Stack trace:
-#0 %s(%d): {closure}(8, 'A non well form...', '%s', %d)
-#1 %s(%d): {closure}('7as')
-#2 {main}
- thrown in %s on line %d