summaryrefslogtreecommitdiff
path: root/Zend/tests
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests')
-rw-r--r--Zend/tests/028.phpt2
-rw-r--r--Zend/tests/037.phpt2
-rw-r--r--Zend/tests/access_modifiers_010.phpt2
-rw-r--r--Zend/tests/add_002.phpt2
-rw-r--r--Zend/tests/add_003.phpt2
-rw-r--r--Zend/tests/add_004.phpt2
-rw-r--r--Zend/tests/add_007.phpt2
-rw-r--r--Zend/tests/assert/expect_002.phpt2
-rw-r--r--Zend/tests/assert/expect_007.phpt2
-rw-r--r--Zend/tests/assert/expect_009.phpt2
-rw-r--r--Zend/tests/assert/expect_010.phpt2
-rw-r--r--Zend/tests/assert/expect_011.phpt2
-rw-r--r--Zend/tests/bug24773.phpt2
-rw-r--r--Zend/tests/bug29015.phpt2
-rw-r--r--Zend/tests/bug29674.phpt2
-rw-r--r--Zend/tests/bug31102.phpt2
-rw-r--r--Zend/tests/bug32660.phpt2
-rw-r--r--Zend/tests/bug33318.phpt2
-rw-r--r--Zend/tests/bug34064.phpt2
-rw-r--r--Zend/tests/bug36071.phpt2
-rw-r--r--Zend/tests/bug36268.phpt2
-rw-r--r--Zend/tests/bug37632.phpt2
-rw-r--r--Zend/tests/bug38624.phpt2
-rw-r--r--Zend/tests/bug40621.phpt2
-rw-r--r--Zend/tests/bug41209.phpt2
-rw-r--r--Zend/tests/bug41421.phpt2
-rw-r--r--Zend/tests/bug41633_2.phpt2
-rw-r--r--Zend/tests/bug41633_3.phpt2
-rw-r--r--Zend/tests/bug41813.phpt2
-rw-r--r--Zend/tests/bug41919.phpt2
-rw-r--r--Zend/tests/bug42817.phpt2
-rw-r--r--Zend/tests/bug42818.phpt2
-rw-r--r--Zend/tests/bug42819.phpt2
-rw-r--r--Zend/tests/bug42937.phpt2
-rw-r--r--Zend/tests/bug43344_10.phpt2
-rw-r--r--Zend/tests/bug43344_11.phpt2
-rw-r--r--Zend/tests/bug43344_12.phpt2
-rw-r--r--Zend/tests/bug43344_13.phpt2
-rw-r--r--Zend/tests/bug43344_2.phpt2
-rw-r--r--Zend/tests/bug43344_6.phpt2
-rw-r--r--Zend/tests/bug43344_7.phpt2
-rw-r--r--Zend/tests/bug43344_8.phpt2
-rw-r--r--Zend/tests/bug43344_9.phpt2
-rw-r--r--Zend/tests/bug44141.phpt2
-rw-r--r--Zend/tests/bug45805.phpt2
-rw-r--r--Zend/tests/bug46304.phpt2
-rw-r--r--Zend/tests/bug46381.phpt2
-rw-r--r--Zend/tests/bug47054.phpt2
-rw-r--r--Zend/tests/bug47699.phpt2
-rw-r--r--Zend/tests/bug47704.phpt2
-rw-r--r--Zend/tests/bug48215_2.phpt2
-rw-r--r--Zend/tests/bug48228.phpt2
-rw-r--r--Zend/tests/bug48408.phpt2
-rw-r--r--Zend/tests/bug48693.phpt4
-rw-r--r--Zend/tests/bug49866.phpt2
-rw-r--r--Zend/tests/bug49908.phpt2
-rw-r--r--Zend/tests/bug50005.phpt2
-rw-r--r--Zend/tests/bug50146.phpt2
-rw-r--r--Zend/tests/bug51394.phpt2
-rw-r--r--Zend/tests/bug52361.phpt4
-rw-r--r--Zend/tests/bug52484.phpt2
-rw-r--r--Zend/tests/bug52484_2.phpt2
-rw-r--r--Zend/tests/bug52484_3.phpt2
-rw-r--r--Zend/tests/bug53511.phpt4
-rw-r--r--Zend/tests/bug60738_variation.phpt2
-rw-r--r--Zend/tests/bug60909_1.phpt2
-rw-r--r--Zend/tests/bug61025.phpt2
-rw-r--r--Zend/tests/bug61767.phpt2
-rw-r--r--Zend/tests/bug63111.phpt2
-rw-r--r--Zend/tests/bug63173.phpt2
-rw-r--r--Zend/tests/bug64720.phpt2
-rw-r--r--Zend/tests/bug64821.1.phpt2
-rw-r--r--Zend/tests/bug64821.2.phpt2
-rw-r--r--Zend/tests/bug64821.3.phpt2
-rw-r--r--Zend/tests/bug64960.phpt2
-rw-r--r--Zend/tests/bug64966.phpt2
-rw-r--r--Zend/tests/bug65784.phpt2
-rw-r--r--Zend/tests/bug65911.phpt2
-rw-r--r--Zend/tests/bug68652.phpt2
-rw-r--r--Zend/tests/bug69599.phpt2
-rw-r--r--Zend/tests/call_static_004.phpt2
-rw-r--r--Zend/tests/call_static_006.phpt2
-rw-r--r--Zend/tests/call_user_func_004.phpt2
-rw-r--r--Zend/tests/class_alias_008.phpt2
-rw-r--r--Zend/tests/class_alias_016.phpt2
-rw-r--r--Zend/tests/class_alias_020.phpt2
-rw-r--r--Zend/tests/class_constants_001.phpt2
-rw-r--r--Zend/tests/class_name_as_scalar_error_005.phpt2
-rw-r--r--Zend/tests/class_name_as_scalar_error_006.phpt2
-rw-r--r--Zend/tests/class_name_as_scalar_error_007.phpt2
-rw-r--r--Zend/tests/clone_001.phpt2
-rw-r--r--Zend/tests/clone_003.phpt2
-rw-r--r--Zend/tests/clone_004.phpt2
-rw-r--r--Zend/tests/closure_005.phpt2
-rw-r--r--Zend/tests/closure_019.phpt2
-rw-r--r--Zend/tests/closure_020.phpt2
-rw-r--r--Zend/tests/closure_022.phpt2
-rw-r--r--Zend/tests/closure_033.phpt2
-rw-r--r--Zend/tests/closure_038.phpt4
-rw-r--r--Zend/tests/closure_039.phpt4
-rw-r--r--Zend/tests/constant_expressions_invalid_offset_type_error.phpt2
-rw-r--r--Zend/tests/constant_expressions_self_referencing_array.phpt2
-rw-r--r--Zend/tests/debug_backtrace_with_include_and_this.phpt2
-rw-r--r--Zend/tests/dereference_002.phpt2
-rw-r--r--Zend/tests/dereference_010.phpt2
-rw-r--r--Zend/tests/div_002.phpt2
-rw-r--r--Zend/tests/dynamic_call_001.phpt2
-rw-r--r--Zend/tests/dynamic_call_002.phpt2
-rw-r--r--Zend/tests/dynamic_call_003.phpt2
-rw-r--r--Zend/tests/dynamic_call_004.phpt2
-rw-r--r--Zend/tests/errmsg_044.phpt2
-rw-r--r--Zend/tests/exception_001.phpt2
-rw-r--r--Zend/tests/exception_003.phpt2
-rw-r--r--Zend/tests/exception_004.phpt2
-rw-r--r--Zend/tests/exception_005.phpt2
-rw-r--r--Zend/tests/exception_006.phpt2
-rw-r--r--Zend/tests/exception_007.phpt8
-rw-r--r--Zend/tests/exception_008.phpt4
-rw-r--r--Zend/tests/exception_011.phpt2
-rw-r--r--Zend/tests/exception_012.phpt2
-rw-r--r--Zend/tests/exception_013.phpt2
-rw-r--r--Zend/tests/exception_014.phpt2
-rw-r--r--Zend/tests/exception_015.phpt2
-rw-r--r--Zend/tests/exception_016.phpt2
-rw-r--r--Zend/tests/exception_017.phpt2
-rw-r--r--Zend/tests/exception_handler_002.phpt2
-rw-r--r--Zend/tests/exception_with_by_ref_message.phpt2
-rw-r--r--Zend/tests/gc_030.phpt4
-rw-r--r--Zend/tests/generators/basic_yield_from_exception_handling.phpt10
-rw-r--r--Zend/tests/generators/bug63066.phpt2
-rw-r--r--Zend/tests/generators/bug65161.phpt2
-rw-r--r--Zend/tests/generators/clone.phpt2
-rw-r--r--Zend/tests/generators/errors/generator_instantiate_error.phpt2
-rw-r--r--Zend/tests/generators/errors/non_ref_generator_iterated_by_ref_error.phpt2
-rw-r--r--Zend/tests/generators/errors/resume_running_generator_error.phpt2
-rw-r--r--Zend/tests/generators/errors/serialize_unserialize_error.phpt4
-rw-r--r--Zend/tests/generators/errors/yield_in_force_closed_finally_error.phpt2
-rw-r--r--Zend/tests/generators/finally/throw_yield.phpt2
-rw-r--r--Zend/tests/generators/finally/yield_throw.phpt2
-rw-r--r--Zend/tests/generators/generator_rewind.phpt4
-rw-r--r--Zend/tests/generators/generator_throwing_in_foreach.phpt2
-rw-r--r--Zend/tests/generators/mutli_yield_from_with_exception.phpt4
-rw-r--r--Zend/tests/generators/throw_already_closed.phpt2
-rw-r--r--Zend/tests/generators/throw_caught.phpt2
-rw-r--r--Zend/tests/generators/throw_not_an_exception.phpt2
-rw-r--r--Zend/tests/generators/throw_rethrow.phpt4
-rw-r--r--Zend/tests/generators/throw_uncaught.phpt2
-rw-r--r--Zend/tests/generators/yield_from_already_running.phpt2
-rw-r--r--Zend/tests/generators/yield_from_multi_tree_exception.phpt4
-rw-r--r--Zend/tests/indirect_call_array_001.phpt2
-rw-r--r--Zend/tests/indirect_call_array_002.phpt2
-rw-r--r--Zend/tests/indirect_method_call_002.phpt2
-rw-r--r--Zend/tests/list_005.phpt2
-rw-r--r--Zend/tests/list_007.phpt2
-rw-r--r--Zend/tests/methods-on-non-objects.phpt2
-rw-r--r--Zend/tests/mul_001.phpt2
-rw-r--r--Zend/tests/not_002.phpt2
-rw-r--r--Zend/tests/ns_004.phpt2
-rw-r--r--Zend/tests/ns_026.phpt2
-rw-r--r--Zend/tests/ns_038.phpt2
-rw-r--r--Zend/tests/ns_057.phpt2
-rw-r--r--Zend/tests/ns_058.phpt2
-rw-r--r--Zend/tests/ns_076.phpt2
-rw-r--r--Zend/tests/ns_077_1.phpt2
-rw-r--r--Zend/tests/ns_077_2.phpt2
-rw-r--r--Zend/tests/ns_077_3.phpt2
-rw-r--r--Zend/tests/ns_077_4.phpt2
-rw-r--r--Zend/tests/ns_077_5.phpt2
-rw-r--r--Zend/tests/ns_077_6.phpt2
-rw-r--r--Zend/tests/ns_077_7.phpt2
-rw-r--r--Zend/tests/ns_077_8.phpt2
-rw-r--r--Zend/tests/ns_092.phpt2
-rw-r--r--Zend/tests/objects_017.phpt2
-rw-r--r--Zend/tests/objects_025.phpt2
-rw-r--r--Zend/tests/objects_026.phpt2
-rw-r--r--Zend/tests/objects_029.phpt2
-rw-r--r--Zend/tests/objects_030.phpt2
-rw-r--r--Zend/tests/offset_assign.phpt2
-rw-r--r--Zend/tests/offset_object.phpt2
-rw-r--r--Zend/tests/parent_class_name_without_parent.phpt2
-rw-r--r--Zend/tests/return_types/020.phpt2
-rw-r--r--Zend/tests/str_offset_002.phpt2
-rw-r--r--Zend/tests/sub_001.phpt2
-rw-r--r--Zend/tests/throw_reference.phpt2
-rw-r--r--Zend/tests/traits/bug60173.phpt2
-rw-r--r--Zend/tests/traits/bugs/alias01.phpt2
-rw-r--r--Zend/tests/traits/error_007.phpt2
-rw-r--r--Zend/tests/traits/error_012.phpt2
-rw-r--r--Zend/tests/traits/language008a.phpt2
-rw-r--r--Zend/tests/traits/language008b.phpt2
-rw-r--r--Zend/tests/try_finally_001.phpt2
-rw-r--r--Zend/tests/try_finally_003.phpt2
-rw-r--r--Zend/tests/use_const/no_global_fallback.phpt2
-rw-r--r--Zend/tests/use_function/no_global_fallback.phpt2
-rw-r--r--Zend/tests/use_function/no_global_fallback2.phpt2
-rw-r--r--Zend/tests/varSyntax/method_call_on_string_literal.phpt2
-rw-r--r--Zend/tests/varSyntax/tempDimFetchByRefError.phpt2
-rw-r--r--Zend/tests/varSyntax/tempPropFetchByRefError.phpt2
198 files changed, 217 insertions, 217 deletions
diff --git a/Zend/tests/028.phpt b/Zend/tests/028.phpt
index 810c091a87..7152c99195 100644
--- a/Zend/tests/028.phpt
+++ b/Zend/tests/028.phpt
@@ -20,7 +20,7 @@ bool(true)
Notice: Undefined offset: 2 in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Fatal error: Uncaught EngineException: Function name must be a string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/037.phpt b/Zend/tests/037.phpt
index bda491d7e6..12ae69b8c6 100644
--- a/Zend/tests/037.phpt
+++ b/Zend/tests/037.phpt
@@ -16,7 +16,7 @@ var_dump($x::$x);
--EXPECTF--
int(1)
-Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: Closure::$x' in %s:%d
+Fatal error: Uncaught EngineException: Access to undeclared static property: Closure::$x in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/access_modifiers_010.phpt b/Zend/tests/access_modifiers_010.phpt
index 5fd65e5bef..fe774fefbc 100644
--- a/Zend/tests/access_modifiers_010.phpt
+++ b/Zend/tests/access_modifiers_010.phpt
@@ -28,7 +28,7 @@ new c;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method d::test2() from context 'a'' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method d::test2() from context 'a' in %s:%d
Stack trace:
#0 %s(%d): a->test()
#1 %s(%d): c->__construct()
diff --git a/Zend/tests/add_002.phpt b/Zend/tests/add_002.phpt
index a242f7543e..8868fca2e2 100644
--- a/Zend/tests/add_002.phpt
+++ b/Zend/tests/add_002.phpt
@@ -26,7 +26,7 @@ Exception: Unsupported operand types
Notice: Object of class stdClass could not be converted to int in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/add_003.phpt b/Zend/tests/add_003.phpt
index 4023e24c2a..7a9391038c 100644
--- a/Zend/tests/add_003.phpt
+++ b/Zend/tests/add_003.phpt
@@ -26,7 +26,7 @@ Exception: Unsupported operand types
Notice: Object of class stdClass could not be converted to int in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/add_004.phpt b/Zend/tests/add_004.phpt
index b0a10f82f3..cf19f2fc1d 100644
--- a/Zend/tests/add_004.phpt
+++ b/Zend/tests/add_004.phpt
@@ -19,7 +19,7 @@ echo "Done\n";
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/add_007.phpt b/Zend/tests/add_007.phpt
index 455f664dfa..2616196c90 100644
--- a/Zend/tests/add_007.phpt
+++ b/Zend/tests/add_007.phpt
@@ -21,7 +21,7 @@ echo "Done\n";
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/assert/expect_002.phpt b/Zend/tests/assert/expect_002.phpt
index 2e54b1a459..f3062b7997 100644
--- a/Zend/tests/assert/expect_002.phpt
+++ b/Zend/tests/assert/expect_002.phpt
@@ -9,7 +9,7 @@ assert(false);
var_dump(true);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexpect_002.php:%d
+Fatal error: Uncaught AssertionException: assert(false) in %sexpect_002.php:%d
Stack trace:
#0 %sexpect_002.php(%d): assert(false, 'assert(false)')
#1 {main}
diff --git a/Zend/tests/assert/expect_007.phpt b/Zend/tests/assert/expect_007.phpt
index 5b6aeffb4a..feed56e84f 100644
--- a/Zend/tests/assert/expect_007.phpt
+++ b/Zend/tests/assert/expect_007.phpt
@@ -16,7 +16,7 @@ class HeaderMalfunctionException extends AssertionException {}
assert (preg_match("~^([a-zA-Z0-9-]+)$~", $data["key"]), new HeaderMalfunctionException("malformed key found at {$next} \"{$data["key"]}\""));
?>
--EXPECTF--
-Fatal error: Uncaught exception 'HeaderMalfunctionException' with message 'malformed key found at 1 "X-HTTP "' in %sexpect_007.php:10
+Fatal error: Uncaught HeaderMalfunctionException: malformed key found at 1 "X-HTTP " in %sexpect_007.php:10
Stack trace:
#0 {main}
thrown in %sexpect_007.php on line 10
diff --git a/Zend/tests/assert/expect_009.phpt b/Zend/tests/assert/expect_009.phpt
index 7e64c64bc7..a41cba44f4 100644
--- a/Zend/tests/assert/expect_009.phpt
+++ b/Zend/tests/assert/expect_009.phpt
@@ -17,7 +17,7 @@ class Two extends One {
new Two();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexpect_009.php:%d
+Fatal error: Uncaught AssertionException: assert(false) in %sexpect_009.php:%d
Stack trace:
#0 %sexpect_009.php(%d): assert(false, 'assert(false)')
#1 %sexpect_009.php(%d): Two->__construct()
diff --git a/Zend/tests/assert/expect_010.phpt b/Zend/tests/assert/expect_010.phpt
index 8d52f6479b..8301d40f72 100644
--- a/Zend/tests/assert/expect_010.phpt
+++ b/Zend/tests/assert/expect_010.phpt
@@ -15,7 +15,7 @@ class Two extends One {}
new Two();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexpect_010.php:%d
+Fatal error: Uncaught AssertionException: assert(false) in %sexpect_010.php:%d
Stack trace:
#0 %sexpect_010.php(%d): assert(false, 'assert(false)')
#1 %sexpect_010.php(%d): One->__construct()
diff --git a/Zend/tests/assert/expect_011.phpt b/Zend/tests/assert/expect_011.phpt
index 0b5cf99b43..a48aa9f95f 100644
--- a/Zend/tests/assert/expect_011.phpt
+++ b/Zend/tests/assert/expect_011.phpt
@@ -22,7 +22,7 @@ class Two extends One {}
new Two();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'AssertionException' with message '[Message]: MyExpectations' in %sexpect_011.php:%d
+Fatal error: Uncaught AssertionException: [Message]: MyExpectations in %sexpect_011.php:%d
Stack trace:
#0 %sexpect_011.php(%d): assert(false, '[Message]: MyEx...')
#1 %sexpect_011.php(%d): One->__construct()
diff --git a/Zend/tests/bug24773.phpt b/Zend/tests/bug24773.phpt
index ea08f84c26..d2b1db3985 100644
--- a/Zend/tests/bug24773.phpt
+++ b/Zend/tests/bug24773.phpt
@@ -6,7 +6,7 @@ Bug #24773 (unset() of integers treated as arrays causes a crash)
unset($array["lvl1"]["lvl2"]["b"]);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an array' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use string offset as an array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/bug29015.phpt b/Zend/tests/bug29015.phpt
index f5a4e0ac41..2b116383ff 100644
--- a/Zend/tests/bug29015.phpt
+++ b/Zend/tests/bug29015.phpt
@@ -8,7 +8,7 @@ $a->$x = "string('')";
var_dump($a);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %sbug29015.php:4
+Fatal error: Uncaught EngineException: Cannot access empty property in %sbug29015.php:4
Stack trace:
#0 {main}
thrown in %sbug29015.php on line 4
diff --git a/Zend/tests/bug29674.phpt b/Zend/tests/bug29674.phpt
index f94c2290b4..7aa7ba1ffc 100644
--- a/Zend/tests/bug29674.phpt
+++ b/Zend/tests/bug29674.phpt
@@ -38,7 +38,7 @@ NULL
===CHILD===
string(4) "Base"
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property ChildClass::$private_child' in %sbug29674.php:%d
+Fatal error: Uncaught EngineException: Cannot access private property ChildClass::$private_child in %sbug29674.php:%d
Stack trace:
#0 %s(%d): BaseClass->printVars()
#1 {main}
diff --git a/Zend/tests/bug31102.phpt b/Zend/tests/bug31102.phpt
index 0dbfd5a34f..9937d2ad02 100644
--- a/Zend/tests/bug31102.phpt
+++ b/Zend/tests/bug31102.phpt
@@ -45,7 +45,7 @@ __autoload(Test2,2)
Caught: __autoload
__autoload(Test3,3)
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'Test3' not found' in %sbug31102.php(%d) : eval()'d code:1
+Fatal error: Uncaught EngineException: Class 'Test3' not found in %sbug31102.php(%d) : eval()'d code:1
Stack trace:
#0 %s(%d): eval()
#1 {main}
diff --git a/Zend/tests/bug32660.phpt b/Zend/tests/bug32660.phpt
index d99e2f8e14..e241eed44b 100644
--- a/Zend/tests/bug32660.phpt
+++ b/Zend/tests/bug32660.phpt
@@ -36,7 +36,7 @@ A Object
Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php on line 23
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot assign by reference to overloaded object' in %sbug32660.php:23
+Fatal error: Uncaught EngineException: Cannot assign by reference to overloaded object in %sbug32660.php:23
Stack trace:
#0 {main}
thrown in %sbug32660.php on line 23
diff --git a/Zend/tests/bug33318.phpt b/Zend/tests/bug33318.phpt
index 4abb90866f..24752cdccf 100644
--- a/Zend/tests/bug33318.phpt
+++ b/Zend/tests/bug33318.phpt
@@ -5,7 +5,7 @@ Bug #33318 (throw 1; results in Invalid opcode 108/1/8)
throw 1;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Can only throw objects' in %sbug33318.php:2
+Fatal error: Uncaught EngineException: Can only throw objects in %sbug33318.php:2
Stack trace:
#0 {main}
thrown in %sbug33318.php on line 2 \ No newline at end of file
diff --git a/Zend/tests/bug34064.phpt b/Zend/tests/bug34064.phpt
index 91ee3e6f81..46bbaf8751 100644
--- a/Zend/tests/bug34064.phpt
+++ b/Zend/tests/bug34064.phpt
@@ -31,7 +31,7 @@ array(1) {
string(2) "ok"
}
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use [] for reading' in %sbug34064.php:18
+Fatal error: Uncaught EngineException: Cannot use [] for reading in %sbug34064.php:18
Stack trace:
#0 %s(%d): XmlTest->run()
#1 {main}
diff --git a/Zend/tests/bug36071.phpt b/Zend/tests/bug36071.phpt
index 918cea83b2..08a0ddd94b 100644
--- a/Zend/tests/bug36071.phpt
+++ b/Zend/tests/bug36071.phpt
@@ -8,7 +8,7 @@ $a = clone 0;
$a[0]->b = 0;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %sbug36071.php:2
+Fatal error: Uncaught EngineException: __clone method called on non-object in %sbug36071.php:2
Stack trace:
#0 {main}
thrown in %sbug36071.php on line 2 \ No newline at end of file
diff --git a/Zend/tests/bug36268.phpt b/Zend/tests/bug36268.phpt
index ad652ce015..42f4b5076f 100644
--- a/Zend/tests/bug36268.phpt
+++ b/Zend/tests/bug36268.phpt
@@ -11,7 +11,7 @@ $x = new Foo();
bar();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function bar()' in %sbug36268.php:8
+Fatal error: Uncaught EngineException: Call to undefined function bar() in %sbug36268.php:8
Stack trace:
#0 {main}
thrown in %sbug36268.php on line 8
diff --git a/Zend/tests/bug37632.phpt b/Zend/tests/bug37632.phpt
index 974471ffd3..d97aba0f4c 100644
--- a/Zend/tests/bug37632.phpt
+++ b/Zend/tests/bug37632.phpt
@@ -132,7 +132,7 @@ B2::doTest
C2::test
B4::doTest
-Fatal error: Uncaught exception 'EngineException' with message 'Call to protected C4::__construct() from context 'B4'' in %sbug37632.php:%d
+Fatal error: Uncaught EngineException: Call to protected C4::__construct() from context 'B4' in %sbug37632.php:%d
Stack trace:
#0 %s(%d): B4::doTest()
#1 {main}
diff --git a/Zend/tests/bug38624.phpt b/Zend/tests/bug38624.phpt
index 081e35c72a..322ccc7fb3 100644
--- a/Zend/tests/bug38624.phpt
+++ b/Zend/tests/bug38624.phpt
@@ -26,7 +26,7 @@ $impl = new impl();
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'doesn't work' in %s:%d
+Fatal error: Uncaught Exception: doesn't work in %s:%d
Stack trace:
#0 %s(%d): impl->__get('counter')
#1 %s(%d): impl->__construct()
diff --git a/Zend/tests/bug40621.phpt b/Zend/tests/bug40621.phpt
index 3180c8c921..ef1e6c9383 100644
--- a/Zend/tests/bug40621.phpt
+++ b/Zend/tests/bug40621.phpt
@@ -17,7 +17,7 @@ echo "Done\n";
--EXPECTF--
Deprecated: Non-static method Foo::get() should not be called statically in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Non-static method Foo::__construct() cannot be called statically' in %s:%d
+Fatal error: Uncaught EngineException: Non-static method Foo::__construct() cannot be called statically in %s:%d
Stack trace:
#0 %s(%d): Foo::get()
#1 {main}
diff --git a/Zend/tests/bug41209.phpt b/Zend/tests/bug41209.phpt
index 5498ede020..5e61750fa7 100644
--- a/Zend/tests/bug41209.phpt
+++ b/Zend/tests/bug41209.phpt
@@ -39,7 +39,7 @@ var_dump(isset($cache[$id]));
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: id' in %s:%d
+Fatal error: Uncaught ErrorException: Undefined variable: id in %s:%d
Stack trace:
#0 %s(%d): env::errorHandler(8, '%s', '%s', 34, Array)
#1 {main}
diff --git a/Zend/tests/bug41421.phpt b/Zend/tests/bug41421.phpt
index f39fb15dda..e223e6fc78 100644
--- a/Zend/tests/bug41421.phpt
+++ b/Zend/tests/bug41421.phpt
@@ -21,7 +21,7 @@ echo "Done\n";
--EXPECTF--
Warning: feof(): wrapper::stream_eof is not implemented! Assuming EOF in %s on line %d
-Fatal error: Uncaught exception 'Exception' in %s:%d
+Fatal error: Uncaught Exception in %s:%d
Stack trace:
#0 [internal function]: wrapper->stream_eof()
#1 %s(%d): feof(Resource id #%d)
diff --git a/Zend/tests/bug41633_2.phpt b/Zend/tests/bug41633_2.phpt
index d64092c691..2df51af924 100644
--- a/Zend/tests/bug41633_2.phpt
+++ b/Zend/tests/bug41633_2.phpt
@@ -8,7 +8,7 @@ class Foo {
echo Foo::A."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined class constant 'self::B'' in %sbug41633_2.php:5
+Fatal error: Uncaught EngineException: Undefined class constant 'self::B' in %sbug41633_2.php:5
Stack trace:
#0 {main}
thrown in %sbug41633_2.php on line 5
diff --git a/Zend/tests/bug41633_3.phpt b/Zend/tests/bug41633_3.phpt
index bf0e95db81..beb32e8b8e 100644
--- a/Zend/tests/bug41633_3.phpt
+++ b/Zend/tests/bug41633_3.phpt
@@ -9,7 +9,7 @@ class Foo {
echo Foo::A;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot declare self-referencing constant 'Foo::B'' in %sbug41633_3.php:%d
+Fatal error: Uncaught EngineException: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php:%d
Stack trace:
#0 {main}
thrown in %sbug41633_3.php on line %d
diff --git a/Zend/tests/bug41813.phpt b/Zend/tests/bug41813.phpt
index 5c52051692..4a38e062e2 100644
--- a/Zend/tests/bug41813.phpt
+++ b/Zend/tests/bug41813.phpt
@@ -9,7 +9,7 @@ $foo[0]->bar = "xyz";
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an array' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use string offset as an array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/bug41919.phpt b/Zend/tests/bug41919.phpt
index 4b872b4867..cb6a87e83c 100644
--- a/Zend/tests/bug41919.phpt
+++ b/Zend/tests/bug41919.phpt
@@ -8,7 +8,7 @@ $foo[3]->bar[1] = "bang";
echo "ok\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an object' in %sbug41919.php:%d
+Fatal error: Uncaught EngineException: Cannot use string offset as an object in %sbug41919.php:%d
Stack trace:
#0 {main}
thrown in %sbug41919.php on line %d
diff --git a/Zend/tests/bug42817.phpt b/Zend/tests/bug42817.phpt
index 46d01170a7..0c2c531169 100644
--- a/Zend/tests/bug42817.phpt
+++ b/Zend/tests/bug42817.phpt
@@ -6,7 +6,7 @@ $a = clone(null);
array_push($a->b, $c);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %sbug42817.php:2
+Fatal error: Uncaught EngineException: __clone method called on non-object in %sbug42817.php:2
Stack trace:
#0 {main}
thrown in %sbug42817.php on line 2
diff --git a/Zend/tests/bug42818.phpt b/Zend/tests/bug42818.phpt
index ea83ced5fc..11d9895be9 100644
--- a/Zend/tests/bug42818.phpt
+++ b/Zend/tests/bug42818.phpt
@@ -5,7 +5,7 @@ Bug #42818 ($foo = clone(array()); leaks memory)
$foo = clone(array());
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %sbug42818.php:2
+Fatal error: Uncaught EngineException: __clone method called on non-object in %sbug42818.php:2
Stack trace:
#0 {main}
thrown in %sbug42818.php on line 2
diff --git a/Zend/tests/bug42819.phpt b/Zend/tests/bug42819.phpt
index e6bdba715b..84a3bfb640 100644
--- a/Zend/tests/bug42819.phpt
+++ b/Zend/tests/bug42819.phpt
@@ -299,7 +299,7 @@ Array
[1] => 1
)
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\foo\unknown'' in %sbug42819.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'foo\foo\unknown' in %sbug42819.php:%d
Stack trace:
#0 %s(%d): foo\oops()
#1 {main}
diff --git a/Zend/tests/bug42937.phpt b/Zend/tests/bug42937.phpt
index 53e6fe7f49..9d13a79d93 100644
--- a/Zend/tests/bug42937.phpt
+++ b/Zend/tests/bug42937.phpt
@@ -39,7 +39,7 @@ test3
test4
test5
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method C::test6()' in %sbug42937.php:21
+Fatal error: Uncaught EngineException: Call to undefined method C::test6() in %sbug42937.php:21
Stack trace:
#0 %s(%d): B->test()
#1 {main}
diff --git a/Zend/tests/bug43344_10.phpt b/Zend/tests/bug43344_10.phpt
index 67508d0d69..23bb8e9ad6 100644
--- a/Zend/tests/bug43344_10.phpt
+++ b/Zend/tests/bug43344_10.phpt
@@ -5,7 +5,7 @@ Bug #43344.10 (Wrong error message for undefined namespace constant)
echo namespace\bar."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_10.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'bar' in %sbug43344_10.php:%d
Stack trace:
#0 {main}
thrown in %sbug43344_10.php on line %d
diff --git a/Zend/tests/bug43344_11.phpt b/Zend/tests/bug43344_11.phpt
index d7c51e6361..9529e7e582 100644
--- a/Zend/tests/bug43344_11.phpt
+++ b/Zend/tests/bug43344_11.phpt
@@ -8,7 +8,7 @@ function f($a=namespace\bar) {
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_11.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'bar' in %sbug43344_11.php:%d
Stack trace:
#0 %s(%d): f()
#1 {main}
diff --git a/Zend/tests/bug43344_12.phpt b/Zend/tests/bug43344_12.phpt
index 1d14d4b40b..b487421757 100644
--- a/Zend/tests/bug43344_12.phpt
+++ b/Zend/tests/bug43344_12.phpt
@@ -8,7 +8,7 @@ function f($a=array(namespace\bar)) {
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_12.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'bar' in %sbug43344_12.php:%d
Stack trace:
#0 %s(%d): f()
#1 {main}
diff --git a/Zend/tests/bug43344_13.phpt b/Zend/tests/bug43344_13.phpt
index 83d79864d1..aab7d93da2 100644
--- a/Zend/tests/bug43344_13.phpt
+++ b/Zend/tests/bug43344_13.phpt
@@ -9,7 +9,7 @@ function f($a=array(namespace\bar=>0)) {
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_13.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'bar' in %sbug43344_13.php:%d
Stack trace:
#0 %s(%d): f()
#1 {main}
diff --git a/Zend/tests/bug43344_2.phpt b/Zend/tests/bug43344_2.phpt
index 094672f3d1..6b74e76a0b 100644
--- a/Zend/tests/bug43344_2.phpt
+++ b/Zend/tests/bug43344_2.phpt
@@ -6,7 +6,7 @@ namespace Foo;
echo Foo::bar."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'Foo\Foo' not found' in %sbug43344_2.php:%d
+Fatal error: Uncaught EngineException: Class 'Foo\Foo' not found in %sbug43344_2.php:%d
Stack trace:
#0 {main}
thrown in %sbug43344_2.php on line %d
diff --git a/Zend/tests/bug43344_6.phpt b/Zend/tests/bug43344_6.phpt
index ef9eb58867..c5c848f808 100644
--- a/Zend/tests/bug43344_6.phpt
+++ b/Zend/tests/bug43344_6.phpt
@@ -6,7 +6,7 @@ namespace Foo;
echo namespace\bar."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_6.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'Foo\bar' in %sbug43344_6.php:%d
Stack trace:
#0 {main}
thrown in %sbug43344_6.php on line %d
diff --git a/Zend/tests/bug43344_7.phpt b/Zend/tests/bug43344_7.phpt
index 661e93aea8..6d536c1dd2 100644
--- a/Zend/tests/bug43344_7.phpt
+++ b/Zend/tests/bug43344_7.phpt
@@ -9,7 +9,7 @@ function f($a=namespace\bar) {
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_7.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'Foo\bar' in %sbug43344_7.php:%d
Stack trace:
#0 %s(%d): Foo\f()
#1 {main}
diff --git a/Zend/tests/bug43344_8.phpt b/Zend/tests/bug43344_8.phpt
index 14aeb7d8af..7f621f9cbf 100644
--- a/Zend/tests/bug43344_8.phpt
+++ b/Zend/tests/bug43344_8.phpt
@@ -9,7 +9,7 @@ function f($a=array(namespace\bar)) {
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_8.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'Foo\bar' in %sbug43344_8.php:%d
Stack trace:
#0 %s(%d): Foo\f()
#1 {main}
diff --git a/Zend/tests/bug43344_9.phpt b/Zend/tests/bug43344_9.phpt
index 0642dc545a..a6117385b6 100644
--- a/Zend/tests/bug43344_9.phpt
+++ b/Zend/tests/bug43344_9.phpt
@@ -10,7 +10,7 @@ function f($a=array(namespace\bar=>0)) {
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_9.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'Foo\bar' in %sbug43344_9.php:%d
Stack trace:
#0 %s(%d): Foo\f()
#1 {main}
diff --git a/Zend/tests/bug44141.phpt b/Zend/tests/bug44141.phpt
index aa0ae7ed4b..021b4810f4 100644
--- a/Zend/tests/bug44141.phpt
+++ b/Zend/tests/bug44141.phpt
@@ -22,7 +22,7 @@ class Y extends X
$y = Y::cheat(5);
echo $y->x, PHP_EOL;
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to private X::__construct() from context 'Y'' in %sbug44141.php:15
+Fatal error: Uncaught EngineException: Call to private X::__construct() from context 'Y' in %sbug44141.php:15
Stack trace:
#0 %s(%d): Y::cheat(5)
#1 {main}
diff --git a/Zend/tests/bug45805.phpt b/Zend/tests/bug45805.phpt
index f8a2484438..1bb03e917e 100644
--- a/Zend/tests/bug45805.phpt
+++ b/Zend/tests/bug45805.phpt
@@ -38,7 +38,7 @@ $o = new B;
$o->bar();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'RuntimeException' in %sbug45805.php:%d
+Fatal error: Uncaught RuntimeException in %sbug45805.php:%d
Stack trace:
#0 %sbug45805.php(%d): PHPUnit_Util_ErrorHandler::handleError(8, 'Only variables ...', '%s', %d, Array)
#1 [internal function]: B->foo()
diff --git a/Zend/tests/bug46304.phpt b/Zend/tests/bug46304.phpt
index 43f28775e5..19374047cf 100644
--- a/Zend/tests/bug46304.phpt
+++ b/Zend/tests/bug46304.phpt
@@ -62,7 +62,7 @@ value6
value6
value6
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'NS1\ns2\coNSt1'' in %sbug46304.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'NS1\ns2\coNSt1' in %sbug46304.php:%d
Stack trace:
#0 {main}
thrown in %sbug46304.php on line %d
diff --git a/Zend/tests/bug46381.phpt b/Zend/tests/bug46381.phpt
index c6484a00f5..f86b5f07d5 100644
--- a/Zend/tests/bug46381.phpt
+++ b/Zend/tests/bug46381.phpt
@@ -14,7 +14,7 @@ $test->method();
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Non-static method ArrayIterator::current() cannot be called statically' in %s:%d
+Fatal error: Uncaught EngineException: Non-static method ArrayIterator::current() cannot be called statically in %s:%d
Stack trace:
#0 %s(%d): test->method()
#1 {main}
diff --git a/Zend/tests/bug47054.phpt b/Zend/tests/bug47054.phpt
index 378cae9ba5..7433baba24 100644
--- a/Zend/tests/bug47054.phpt
+++ b/Zend/tests/bug47054.phpt
@@ -36,7 +36,7 @@ Warning: get_called_class() called from outside a class in %s on line %d
Deprecated: Non-static method D::m() should not be called statically in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %s:%d
+Fatal error: Uncaught EngineException: Using $this when not in object context in %s:%d
Stack trace:
#0 %s(%d): D::m()
#1 {main}
diff --git a/Zend/tests/bug47699.phpt b/Zend/tests/bug47699.phpt
index 6e96c5bb31..8cb3280bcf 100644
--- a/Zend/tests/bug47699.phpt
+++ b/Zend/tests/bug47699.phpt
@@ -15,7 +15,7 @@ new X();
?>
--EXPECTF--
BB
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'X' not found' in %sbug47699.php:%d
+Fatal error: Uncaught EngineException: Class 'X' not found in %sbug47699.php:%d
Stack trace:
#0 {main}
thrown in %sbug47699.php on line %d
diff --git a/Zend/tests/bug47704.phpt b/Zend/tests/bug47704.phpt
index db51d9eb20..306443f8bb 100644
--- a/Zend/tests/bug47704.phpt
+++ b/Zend/tests/bug47704.phpt
@@ -6,7 +6,7 @@ $s = "abd";
$s[0]->a += 1;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an object' in %sbug47704.php:%d
+Fatal error: Uncaught EngineException: Cannot use string offset as an object in %sbug47704.php:%d
Stack trace:
#0 {main}
thrown in %sbug47704.php on line %d
diff --git a/Zend/tests/bug48215_2.phpt b/Zend/tests/bug48215_2.phpt
index aac5bfd5e2..034b3f1a4c 100644
--- a/Zend/tests/bug48215_2.phpt
+++ b/Zend/tests/bug48215_2.phpt
@@ -16,7 +16,7 @@ $c = new c();
?>
===DONE===
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method b::b()' in %s:%d
+Fatal error: Uncaught EngineException: Call to undefined method b::b() in %s:%d
Stack trace:
#0 %s(%d): c->__construct()
#1 {main}
diff --git a/Zend/tests/bug48228.phpt b/Zend/tests/bug48228.phpt
index ae8ba617b8..1f0d0a54a1 100644
--- a/Zend/tests/bug48228.phpt
+++ b/Zend/tests/bug48228.phpt
@@ -24,7 +24,7 @@ $l_aa->dosome();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' in %s
+Fatal error: Uncaught Exception in %s
Stack trace:
#0 %s(%d): do_throw()
#1 %s(%d): aa->dosome()
diff --git a/Zend/tests/bug48408.phpt b/Zend/tests/bug48408.phpt
index 20a019807b..7ae32a5d48 100644
--- a/Zend/tests/bug48408.phpt
+++ b/Zend/tests/bug48408.phpt
@@ -23,7 +23,7 @@ catch(Exception $e){
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' in %s
+Fatal error: Uncaught Exception in %s
Stack trace:
#0 %s(%d): C->generate(0)
#1 {main}
diff --git a/Zend/tests/bug48693.phpt b/Zend/tests/bug48693.phpt
index d2baf2a695..c4fbb4f297 100644
--- a/Zend/tests/bug48693.phpt
+++ b/Zend/tests/bug48693.phpt
@@ -31,12 +31,12 @@ var_dump(
?>
--EXPECTF--
-exception 'ParseException' with message 'syntax error, unexpected '}', expecting end of file' in %sbug48693.php(4) : runtime-created function:1
+ParseException: syntax error, unexpected '}', expecting end of file in %sbug48693.php(4) : runtime-created function:1
Stack trace:
#0 %sbug48693.php(4): create_function('', 'return 1; }')
#1 {main}
-exception 'ParseException' with message 'syntax error, unexpected end of file' in %sbug48693.php(14) : runtime-created function:1
+ParseException: syntax error, unexpected end of file in %sbug48693.php(14) : runtime-created function:1
Stack trace:
#0 %sbug48693.php(14): create_function('', '{')
#1 {main}
diff --git a/Zend/tests/bug49866.phpt b/Zend/tests/bug49866.phpt
index 047a162953..956367f693 100644
--- a/Zend/tests/bug49866.phpt
+++ b/Zend/tests/bug49866.phpt
@@ -7,7 +7,7 @@ $b = &$a[1];
$b = "f";
echo $a;
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot create references to/from string offsets nor overloaded objects' in %sbug49866.php:3
+Fatal error: Uncaught EngineException: Cannot create references to/from string offsets nor overloaded objects in %sbug49866.php:3
Stack trace:
#0 {main}
thrown in %sbug49866.php on line 3
diff --git a/Zend/tests/bug49908.phpt b/Zend/tests/bug49908.phpt
index 08d6383d83..ea05f2b567 100644
--- a/Zend/tests/bug49908.phpt
+++ b/Zend/tests/bug49908.phpt
@@ -20,7 +20,7 @@ new Foo;
%unicode|string%(3) "Foo"
%unicode|string%(3) "Bar"
-Fatal error: Uncaught exception 'Exception' with message 'Bar' in %s:%d
+Fatal error: Uncaught Exception: Bar in %s:%d
Stack trace:
#0 %s(7): __autoload('Bar')
#1 %s(13): __autoload('Foo')
diff --git a/Zend/tests/bug50005.phpt b/Zend/tests/bug50005.phpt
index bf4fbbda68..2ed055a129 100644
--- a/Zend/tests/bug50005.phpt
+++ b/Zend/tests/bug50005.phpt
@@ -13,7 +13,7 @@ throw new a;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'a' in :%d
+Fatal error: Uncaught a in :%d
Stack trace:
#0 {main}
thrown in Unknown on line %d
diff --git a/Zend/tests/bug50146.phpt b/Zend/tests/bug50146.phpt
index f6cdb796dd..ffd07edbd3 100644
--- a/Zend/tests/bug50146.phpt
+++ b/Zend/tests/bug50146.phpt
@@ -17,7 +17,7 @@ var_dump(isset($obj->a));
bool(false)
bool(false)
-Fatal error: Uncaught exception 'EngineException' with message 'Closure object cannot have properties' in %s:%d
+Fatal error: Uncaught EngineException: Closure object cannot have properties in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/bug51394.phpt b/Zend/tests/bug51394.phpt
index b0dddffaf8..e2d260b2b2 100644
--- a/Zend/tests/bug51394.phpt
+++ b/Zend/tests/bug51394.phpt
@@ -13,7 +13,7 @@ function eh()
set_error_handler("eh");
$a = $empty($b);
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'error!' in %sbug51394.php:%d
+Fatal error: Uncaught Exception: error! in %sbug51394.php:%d
Stack trace:
#0 %sbug51394.php(%d): eh(8, 'Undefined varia%s', '%s', %d, Array)
#1 {main}
diff --git a/Zend/tests/bug52361.phpt b/Zend/tests/bug52361.phpt
index e6e891337d..4159ac0b8c 100644
--- a/Zend/tests/bug52361.phpt
+++ b/Zend/tests/bug52361.phpt
@@ -23,12 +23,12 @@ try {
}
?>
--EXPECTF--
-1. exception 'Exception' with message 'aaa' in %sbug52361.php:5
+1. Exception: aaa in %sbug52361.php:5
Stack trace:
#0 %sbug52361.php(13): aaa->__destruct()
#1 %sbug52361.php(16): bbb()
#2 {main}
-2. exception 'Exception' with message 'bbb' in %sbug52361.php:13
+2. Exception: bbb in %sbug52361.php:13
Stack trace:
#0 %sbug52361.php(16): bbb()
#1 {main}
diff --git a/Zend/tests/bug52484.phpt b/Zend/tests/bug52484.phpt
index bf9d494aaa..6000418a29 100644
--- a/Zend/tests/bug52484.phpt
+++ b/Zend/tests/bug52484.phpt
@@ -16,7 +16,7 @@ unset($a->$prop);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %s:%d
+Fatal error: Uncaught EngineException: Cannot access empty property in %s:%d
Stack trace:
#0 %s(%d): A->__unset('')
#1 {main}
diff --git a/Zend/tests/bug52484_2.phpt b/Zend/tests/bug52484_2.phpt
index 3ffb2af3e9..5181a425f0 100644
--- a/Zend/tests/bug52484_2.phpt
+++ b/Zend/tests/bug52484_2.phpt
@@ -16,7 +16,7 @@ $a->$prop = 2;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %s:%d
+Fatal error: Uncaught EngineException: Cannot access empty property in %s:%d
Stack trace:
#0 %s(%d): A->__set('', 2)
#1 {main}
diff --git a/Zend/tests/bug52484_3.phpt b/Zend/tests/bug52484_3.phpt
index 877b45d9e3..b7646ab047 100644
--- a/Zend/tests/bug52484_3.phpt
+++ b/Zend/tests/bug52484_3.phpt
@@ -16,7 +16,7 @@ var_dump($a->$prop);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %s:%d
+Fatal error: Uncaught EngineException: Cannot access empty property in %s:%d
Stack trace:
#0 %s(%d): A->__get('')
#1 {main}
diff --git a/Zend/tests/bug53511.phpt b/Zend/tests/bug53511.phpt
index 88f0cbe8f4..0075655428 100644
--- a/Zend/tests/bug53511.phpt
+++ b/Zend/tests/bug53511.phpt
@@ -20,12 +20,12 @@ function test() {
test();
echo "bug\n";
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'ops 2' in %sbug53511.php:11
+Fatal error: Uncaught Exception: ops 2 in %sbug53511.php:11
Stack trace:
#0 %sbug53511.php(17): test()
#1 {main}
-Next exception 'Exception' with message 'ops 1' in %sbug53511.php:4
+Next Exception: ops 1 in %sbug53511.php:4
Stack trace:
#0 %sbug53511.php(12): Foo->__destruct()
#1 %sbug53511.php(17): test()
diff --git a/Zend/tests/bug60738_variation.phpt b/Zend/tests/bug60738_variation.phpt
index d7cf00ecdb..f9e2e73458 100644
--- a/Zend/tests/bug60738_variation.phpt
+++ b/Zend/tests/bug60738_variation.phpt
@@ -16,7 +16,7 @@ NULL
object(Closure)#1 (0) {
}
-Fatal error: Uncaught exception 'Exception' with message 'Exception!' in %s:%d
+Fatal error: Uncaught Exception: Exception! in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/bug60909_1.phpt b/Zend/tests/bug60909_1.phpt
index cfe4289287..e4c07face1 100644
--- a/Zend/tests/bug60909_1.phpt
+++ b/Zend/tests/bug60909_1.phpt
@@ -11,7 +11,7 @@ set_error_handler(function($errno, $errstr, $errfile, $errline){
require 'notfound.php';
--EXPECTF--
error(require(notfound.php): failed to open stream: %s)
-Warning: Uncaught exception 'Exception' with message 'Foo' in %sbug60909_1.php:5
+Warning: Uncaught Exception: Foo in %sbug60909_1.php:5
Stack trace:
#0 %sbug60909_1.php(8): {closure}(2, 'require(notfoun...', '%s', 8, Array)
#1 %sbug60909_1.php(8): require()
diff --git a/Zend/tests/bug61025.phpt b/Zend/tests/bug61025.phpt
index 69f64d61e8..4b06d7f704 100644
--- a/Zend/tests/bug61025.phpt
+++ b/Zend/tests/bug61025.phpt
@@ -24,7 +24,7 @@ Warning: The magic method __invoke() must have public visibility and cannot be s
Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025.php on line %d
Bar
-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method Bar::__invoke() from context ''' in %sbug61025.php:%d
+Fatal error: Uncaught EngineException: Call to private method Bar::__invoke() from context '' in %sbug61025.php:%d
Stack trace:
#0 {main}
thrown in %sbug61025.php on line %d
diff --git a/Zend/tests/bug61767.phpt b/Zend/tests/bug61767.phpt
index 9bd9c907bd..5e949706e8 100644
--- a/Zend/tests/bug61767.phpt
+++ b/Zend/tests/bug61767.phpt
@@ -17,7 +17,7 @@ $undefined->foo();
--EXPECTF--
Error handler called (Undefined variable: undefined)
-Fatal error: Uncaught exception 'ErrorException' with message 'Undefined variable: undefined' in %sbug61767.php:%d
+Fatal error: Uncaught ErrorException: Undefined variable: undefined in %sbug61767.php:%d
Stack trace:
#0 %sbug61767.php(%d): {closure}(%s, 'Undefined varia...', '%s', %d, Array)
#1 {main}
diff --git a/Zend/tests/bug63111.phpt b/Zend/tests/bug63111.phpt
index 92b3a5e93a..38d6fafefc 100644
--- a/Zend/tests/bug63111.phpt
+++ b/Zend/tests/bug63111.phpt
@@ -31,7 +31,7 @@ bool(true)
bool(true)
ok
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot call abstract method Foo::bar()' in %sbug63111.php:20
+Fatal error: Uncaught EngineException: Cannot call abstract method Foo::bar() in %sbug63111.php:20
Stack trace:
#0 {main}
thrown in %sbug63111.php on line 20
diff --git a/Zend/tests/bug63173.phpt b/Zend/tests/bug63173.phpt
index 34d3d6e7d7..af2611fc04 100644
--- a/Zend/tests/bug63173.phpt
+++ b/Zend/tests/bug63173.phpt
@@ -9,7 +9,7 @@ $callback();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Array callback has to contain indices 0 and 1' in %s:%d
+Fatal error: Uncaught EngineException: Array callback has to contain indices 0 and 1 in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/bug64720.phpt b/Zend/tests/bug64720.phpt
index fd71d6bdd6..20fceff7fd 100644
--- a/Zend/tests/bug64720.phpt
+++ b/Zend/tests/bug64720.phpt
@@ -45,7 +45,7 @@ $bar = new Bar();
$bar->test();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: Stat::$requests' in %sbug64720.php:12
+Fatal error: Uncaught EngineException: Access to undeclared static property: Stat::$requests in %sbug64720.php:12
Stack trace:
#0 [internal function]: Stat->__destruct()
#1 {main}
diff --git a/Zend/tests/bug64821.1.phpt b/Zend/tests/bug64821.1.phpt
index 5e2093c472..39bec77a45 100644
--- a/Zend/tests/bug64821.1.phpt
+++ b/Zend/tests/bug64821.1.phpt
@@ -16,7 +16,7 @@ throw new a;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'a' in %s:0
+Fatal error: Uncaught a in %s:0
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/bug64821.2.phpt b/Zend/tests/bug64821.2.phpt
index 91a43f500b..5650c48872 100644
--- a/Zend/tests/bug64821.2.phpt
+++ b/Zend/tests/bug64821.2.phpt
@@ -13,7 +13,7 @@ throw new a;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'a' in %s:0
+Fatal error: Uncaught a in %s:0
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/bug64821.3.phpt b/Zend/tests/bug64821.3.phpt
index 9e96075d49..831665e364 100644
--- a/Zend/tests/bug64821.3.phpt
+++ b/Zend/tests/bug64821.3.phpt
@@ -14,7 +14,7 @@ throw new a;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'a' in :0
+Fatal error: Uncaught a in :0
Stack trace:
#0 {main}
thrown in Unknown on line %d
diff --git a/Zend/tests/bug64960.phpt b/Zend/tests/bug64960.phpt
index b31cca3dc6..cf36fef6da 100644
--- a/Zend/tests/bug64960.phpt
+++ b/Zend/tests/bug64960.phpt
@@ -31,7 +31,7 @@ $a['waa'];
--EXPECTF--
Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in %sbug64960.php on line 3
-Fatal error: Uncaught exception 'Exception' in %sbug64960.php:19
+Fatal error: Uncaught Exception in %sbug64960.php:19
Stack trace:
#0 [internal function]: {closure}(8, 'ob_end_clean():...', '%s', 9, Array)
#1 %sbug64960.php(9): ob_end_clean()
diff --git a/Zend/tests/bug64966.phpt b/Zend/tests/bug64966.phpt
index 931460ba60..0a4e1c77ca 100644
--- a/Zend/tests/bug64966.phpt
+++ b/Zend/tests/bug64966.phpt
@@ -21,7 +21,7 @@ $a = new A();
$a->b();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' in %sbug64966.php:6
+Fatal error: Uncaught Exception in %sbug64966.php:6
Stack trace:
#0 %sbug64966.php(13): test('iterator_apply')
#1 %sbug64966.php(18): A->b()
diff --git a/Zend/tests/bug65784.phpt b/Zend/tests/bug65784.phpt
index 2f80e93b35..8b9f7dfc75 100644
--- a/Zend/tests/bug65784.phpt
+++ b/Zend/tests/bug65784.phpt
@@ -57,7 +57,7 @@ $bar = foo3();
string(9) "not catch"
NULL
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'NotExists' not found' in %sbug65784.php:%d
+Fatal error: Uncaught EngineException: Class 'NotExists' not found in %sbug65784.php:%d
Stack trace:
#0 %s(%d): foo3()
#1 {main}
diff --git a/Zend/tests/bug65911.phpt b/Zend/tests/bug65911.phpt
index 470d45f1f5..4f3a613834 100644
--- a/Zend/tests/bug65911.phpt
+++ b/Zend/tests/bug65911.phpt
@@ -17,7 +17,7 @@ $obj = new B();
$obj->go();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: A::$this' in %s:%d
+Fatal error: Uncaught EngineException: Access to undeclared static property: A::$this in %s:%d
Stack trace:
#0 %s(%d): B->go()
#1 {main}
diff --git a/Zend/tests/bug68652.phpt b/Zend/tests/bug68652.phpt
index e96a263aaa..f0a66ceb60 100644
--- a/Zend/tests/bug68652.phpt
+++ b/Zend/tests/bug68652.phpt
@@ -36,7 +36,7 @@ class Bar {
$foo = new Foo();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: Bar::$instance' in %sbug68652.php:%d
+Fatal error: Uncaught EngineException: Access to undeclared static property: Bar::$instance in %sbug68652.php:%d
Stack trace:
#0 %s(%d): Bar::getInstance()
#1 [internal function]: Foo->__destruct()
diff --git a/Zend/tests/bug69599.phpt b/Zend/tests/bug69599.phpt
index fa8eaa3db4..f8e77f2a36 100644
--- a/Zend/tests/bug69599.phpt
+++ b/Zend/tests/bug69599.phpt
@@ -13,7 +13,7 @@ iterator_to_array(crash());
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' in %s:%d
+Fatal error: Uncaught Exception in %s:%d
Stack trace:
#0 [internal function]: crash()
#1 %s(%d): iterator_to_array(Object(Generator))
diff --git a/Zend/tests/call_static_004.phpt b/Zend/tests/call_static_004.phpt
index 09d28dd371..022f4701ba 100644
--- a/Zend/tests/call_static_004.phpt
+++ b/Zend/tests/call_static_004.phpt
@@ -18,7 +18,7 @@ foo::$a();
--EXPECTF--
string(3) "AaA"
-Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Fatal error: Uncaught EngineException: Function name must be a string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/call_static_006.phpt b/Zend/tests/call_static_006.phpt
index 723c65747d..2f55d71cc0 100644
--- a/Zend/tests/call_static_006.phpt
+++ b/Zend/tests/call_static_006.phpt
@@ -27,7 +27,7 @@ ok
Deprecated: Non-static method foo::aa() should not be called statically in %s on line %d
ok
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot call constructor' in %s:%d
+Fatal error: Uncaught EngineException: Cannot call constructor in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/call_user_func_004.phpt b/Zend/tests/call_user_func_004.phpt
index cc675cc400..6b5efcb6df 100644
--- a/Zend/tests/call_user_func_004.phpt
+++ b/Zend/tests/call_user_func_004.phpt
@@ -15,7 +15,7 @@ call_user_func(array('foo', 'teste'));
--EXPECTF--
Deprecated: %son-static method foo::teste() should not be called statically in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %s:%d
+Fatal error: Uncaught EngineException: Using $this when not in object context in %s:%d
Stack trace:
#0 %s(%d): foo::teste()
#1 {main}
diff --git a/Zend/tests/class_alias_008.phpt b/Zend/tests/class_alias_008.phpt
index b294b01ac9..df2b4b95ea 100644
--- a/Zend/tests/class_alias_008.phpt
+++ b/Zend/tests/class_alias_008.phpt
@@ -13,7 +13,7 @@ new $a;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate abstract class foo' in %s:%d
+Fatal error: Uncaught EngineException: Cannot instantiate abstract class foo in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/class_alias_016.phpt b/Zend/tests/class_alias_016.phpt
index 8bb1026eaf..5ae6b64479 100644
--- a/Zend/tests/class_alias_016.phpt
+++ b/Zend/tests/class_alias_016.phpt
@@ -18,7 +18,7 @@ var_dump(new foo);
object(foo\bar)#%d (0) {
}
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'foo\foo' not found' in %s:%d
+Fatal error: Uncaught EngineException: Class 'foo\foo' not found in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/class_alias_020.phpt b/Zend/tests/class_alias_020.phpt
index a29f90c77d..861f928793 100644
--- a/Zend/tests/class_alias_020.phpt
+++ b/Zend/tests/class_alias_020.phpt
@@ -30,7 +30,7 @@ object(foo\foo)#1 (0) {
object(foo\bar\foo)#2 (0) {
}
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'foo\bar' not found' in %s:%d
+Fatal error: Uncaught EngineException: Class 'foo\bar' not found in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/class_constants_001.phpt b/Zend/tests/class_constants_001.phpt
index 8eebc58bda..d7afc22e64 100644
--- a/Zend/tests/class_constants_001.phpt
+++ b/Zend/tests/class_constants_001.phpt
@@ -19,7 +19,7 @@ echo "Done\n";
string(6) "string"
int(1)
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined class constant 'val3'' in %s:%d
+Fatal error: Uncaught EngineException: Undefined class constant 'val3' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/class_name_as_scalar_error_005.phpt b/Zend/tests/class_name_as_scalar_error_005.phpt
index 32524d11f9..71eb9b84af 100644
--- a/Zend/tests/class_name_as_scalar_error_005.phpt
+++ b/Zend/tests/class_name_as_scalar_error_005.phpt
@@ -7,7 +7,7 @@ $x = static::class;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "static" when no class scope is active' in %s:3
+Fatal error: Uncaught EngineException: Cannot use "static" when no class scope is active in %s:3
Stack trace:
#0 {main}
thrown in %s on line 3
diff --git a/Zend/tests/class_name_as_scalar_error_006.phpt b/Zend/tests/class_name_as_scalar_error_006.phpt
index 954ab2e23b..15f1ec347e 100644
--- a/Zend/tests/class_name_as_scalar_error_006.phpt
+++ b/Zend/tests/class_name_as_scalar_error_006.phpt
@@ -7,7 +7,7 @@ $x = parent::class;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "parent" when no class scope is active' in %s:3
+Fatal error: Uncaught EngineException: Cannot use "parent" when no class scope is active in %s:3
Stack trace:
#0 {main}
thrown in %s on line 3
diff --git a/Zend/tests/class_name_as_scalar_error_007.phpt b/Zend/tests/class_name_as_scalar_error_007.phpt
index fac2dbeb22..01241f4226 100644
--- a/Zend/tests/class_name_as_scalar_error_007.phpt
+++ b/Zend/tests/class_name_as_scalar_error_007.phpt
@@ -7,7 +7,7 @@ var_dump(self::class);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "self" when no class scope is active' in %s:3
+Fatal error: Uncaught EngineException: Cannot use "self" when no class scope is active in %s:3
Stack trace:
#0 {main}
thrown in %s on line 3
diff --git a/Zend/tests/clone_001.phpt b/Zend/tests/clone_001.phpt
index 9f147f9e35..8109aa6422 100644
--- a/Zend/tests/clone_001.phpt
+++ b/Zend/tests/clone_001.phpt
@@ -7,7 +7,7 @@ $a = clone array();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %s:%d
+Fatal error: Uncaught EngineException: __clone method called on non-object in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/clone_003.phpt b/Zend/tests/clone_003.phpt
index 4a97c565b1..b3adc2b09f 100644
--- a/Zend/tests/clone_003.phpt
+++ b/Zend/tests/clone_003.phpt
@@ -9,7 +9,7 @@ $a = clone $b;
--EXPECTF--
Notice: Undefined variable: b in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %s:%d
+Fatal error: Uncaught EngineException: __clone method called on non-object in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/clone_004.phpt b/Zend/tests/clone_004.phpt
index 10b18fbc54..e24795ec0a 100644
--- a/Zend/tests/clone_004.phpt
+++ b/Zend/tests/clone_004.phpt
@@ -17,7 +17,7 @@ $a = clone $c->b[1];
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type foo as array' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use object of type foo as array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/closure_005.phpt b/Zend/tests/closure_005.phpt
index 0143ac173c..72535b466d 100644
--- a/Zend/tests/closure_005.phpt
+++ b/Zend/tests/closure_005.phpt
@@ -71,7 +71,7 @@ echo "Done\n";
7
Destroyed
-Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %sclosure_005.php:28
+Fatal error: Uncaught EngineException: Using $this when not in object context in %sclosure_005.php:28
Stack trace:
#0 %s(%d): A::{closure}()
#1 {main}
diff --git a/Zend/tests/closure_019.phpt b/Zend/tests/closure_019.phpt
index 682c7db634..5505fd2937 100644
--- a/Zend/tests/closure_019.phpt
+++ b/Zend/tests/closure_019.phpt
@@ -26,7 +26,7 @@ int(9)
Notice: Only variable references should be returned by reference in %sclosure_019.php on line 4
int(81)
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot pass parameter 1 by reference' in %s:%d
+Fatal error: Uncaught EngineException: Cannot pass parameter 1 by reference in %s:%d
Stack trace:
#0 %s(%d): test()
#1 {main}
diff --git a/Zend/tests/closure_020.phpt b/Zend/tests/closure_020.phpt
index edc9659ca1..a13d4a63c6 100644
--- a/Zend/tests/closure_020.phpt
+++ b/Zend/tests/closure_020.phpt
@@ -40,7 +40,7 @@ object(foo)#%d (2) {
bool(true)
bool(true)
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property foo::$test' in %s:%d
+Fatal error: Uncaught EngineException: Cannot access private property foo::$test in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/closure_022.phpt b/Zend/tests/closure_022.phpt
index 55f1ff5a8d..1d48e6683e 100644
--- a/Zend/tests/closure_022.phpt
+++ b/Zend/tests/closure_022.phpt
@@ -8,7 +8,7 @@ $foo = function() use ($a) {
$foo->a = 1;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Closure object cannot have properties' in %sclosure_022.php:5
+Fatal error: Uncaught EngineException: Closure object cannot have properties in %sclosure_022.php:5
Stack trace:
#0 {main}
thrown in %sclosure_022.php on line 5
diff --git a/Zend/tests/closure_033.phpt b/Zend/tests/closure_033.phpt
index bc7eb88b2f..4e445721ea 100644
--- a/Zend/tests/closure_033.phpt
+++ b/Zend/tests/closure_033.phpt
@@ -25,7 +25,7 @@ $o->func();
--EXPECTF--
Test::{closure}()
-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method Test::func() from context ''' in %sclosure_033.php:%d
+Fatal error: Uncaught EngineException: Call to private method Test::func() from context '' in %sclosure_033.php:%d
Stack trace:
#0 {main}
thrown in %sclosure_033.php on line %d
diff --git a/Zend/tests/closure_038.phpt b/Zend/tests/closure_038.phpt
index 61fcc1cb94..f3bcd831a9 100644
--- a/Zend/tests/closure_038.phpt
+++ b/Zend/tests/closure_038.phpt
@@ -55,12 +55,12 @@ Testing with scope as string
int(23)
int(24)
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Fatal error: Uncaught EngineException: Cannot access private property B::$x in %s:%d
Stack trace:
#0 %s(%d): Closure->{closure}()
#1 {main}
-Next exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Next EngineException: Cannot access private property B::$x in %s:%d
Stack trace:
#0 %s(%d): Closure->{closure}()
#1 {main}
diff --git a/Zend/tests/closure_039.phpt b/Zend/tests/closure_039.phpt
index ecdf9be080..2afd920105 100644
--- a/Zend/tests/closure_039.phpt
+++ b/Zend/tests/closure_039.phpt
@@ -55,12 +55,12 @@ Testing with scope as string
int(23)
int(24)
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Fatal error: Uncaught EngineException: Cannot access private property B::$x in %s:%d
Stack trace:
#0 %s(%d): Closure->{closure}()
#1 {main}
-Next exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Next EngineException: Cannot access private property B::$x in %s:%d
Stack trace:
#0 %s(%d): Closure->{closure}()
#1 {main}
diff --git a/Zend/tests/constant_expressions_invalid_offset_type_error.phpt b/Zend/tests/constant_expressions_invalid_offset_type_error.phpt
index ded692c2c4..5cee0a0bfe 100644
--- a/Zend/tests/constant_expressions_invalid_offset_type_error.phpt
+++ b/Zend/tests/constant_expressions_invalid_offset_type_error.phpt
@@ -8,7 +8,7 @@ const C2 = [C1, [] => 1];
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Illegal offset type' in %s:%d
+Fatal error: Uncaught EngineException: Illegal offset type in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/constant_expressions_self_referencing_array.phpt b/Zend/tests/constant_expressions_self_referencing_array.phpt
index 6820f47ded..fa14af2f28 100644
--- a/Zend/tests/constant_expressions_self_referencing_array.phpt
+++ b/Zend/tests/constant_expressions_self_referencing_array.phpt
@@ -9,7 +9,7 @@ class A {
var_dump(A::FOO);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot declare self-referencing constant 'self::FOO'' in %s:%d
+Fatal error: Uncaught EngineException: Cannot declare self-referencing constant 'self::FOO' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/debug_backtrace_with_include_and_this.phpt b/Zend/tests/debug_backtrace_with_include_and_this.phpt
index 2827ab1b74..695c8d2150 100644
--- a/Zend/tests/debug_backtrace_with_include_and_this.phpt
+++ b/Zend/tests/debug_backtrace_with_include_and_this.phpt
@@ -31,7 +31,7 @@ try {
ERR#2: include(class://non.existent.Class): failed to open stream: "CLWrapper::stream_open" call failed @ include
ERR#2: include(): Failed opening 'class://non.existent.Class' for inclusion (include_path='%s') @ include
-Fatal error: Uncaught exception 'Exception' with message 'Failed loading class://non.existent.Class' in %s
+Fatal error: Uncaught Exception: Failed loading class://non.existent.Class in %s
Stack trace:
#0 %s(%d): CL->load('class://non.exi...')
#1 {main}
diff --git a/Zend/tests/dereference_002.phpt b/Zend/tests/dereference_002.phpt
index 4d8d9c9942..c206e70b3e 100644
--- a/Zend/tests/dereference_002.phpt
+++ b/Zend/tests/dereference_002.phpt
@@ -76,7 +76,7 @@ NULL
Notice: Undefined offset: 3 in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function bar() on null' in %s:%d
+Fatal error: Uncaught EngineException: Call to a member function bar() on null in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/dereference_010.phpt b/Zend/tests/dereference_010.phpt
index 16c76eb777..ec62e5614e 100644
--- a/Zend/tests/dereference_010.phpt
+++ b/Zend/tests/dereference_010.phpt
@@ -24,7 +24,7 @@ var_dump(b()[1]);
NULL
NULL
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use object of type stdClass as array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/div_002.phpt b/Zend/tests/div_002.phpt
index 6a7794fa46..34f377e229 100644
--- a/Zend/tests/div_002.phpt
+++ b/Zend/tests/div_002.phpt
@@ -20,7 +20,7 @@ echo "Done\n";
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/dynamic_call_001.phpt b/Zend/tests/dynamic_call_001.phpt
index 5a1025cfa7..c3c92e07cf 100644
--- a/Zend/tests/dynamic_call_001.phpt
+++ b/Zend/tests/dynamic_call_001.phpt
@@ -16,7 +16,7 @@ $a::$a();
--EXPECTF--
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; foo has a deprecated constructor in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Non-static method foo::foo() cannot be called statically' in %s:%d
+Fatal error: Uncaught EngineException: Non-static method foo::foo() cannot be called statically in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/dynamic_call_002.phpt b/Zend/tests/dynamic_call_002.phpt
index c8fad52241..5d05680918 100644
--- a/Zend/tests/dynamic_call_002.phpt
+++ b/Zend/tests/dynamic_call_002.phpt
@@ -9,7 +9,7 @@ $a::$a();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Fatal error: Uncaught EngineException: Function name must be a string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/dynamic_call_003.phpt b/Zend/tests/dynamic_call_003.phpt
index 7d5e3e5507..c929e8b04c 100644
--- a/Zend/tests/dynamic_call_003.phpt
+++ b/Zend/tests/dynamic_call_003.phpt
@@ -10,7 +10,7 @@ $a::$b();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Fatal error: Uncaught EngineException: Function name must be a string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/dynamic_call_004.phpt b/Zend/tests/dynamic_call_004.phpt
index 056adfc16b..59da5c7ca5 100644
--- a/Zend/tests/dynamic_call_004.phpt
+++ b/Zend/tests/dynamic_call_004.phpt
@@ -9,7 +9,7 @@ $a::$b();
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Class name must be a valid object or a string' in %s:%d
+Fatal error: Uncaught EngineException: Class name must be a valid object or a string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/errmsg_044.phpt b/Zend/tests/errmsg_044.phpt
index 50234f89c6..4b60b1600e 100644
--- a/Zend/tests/errmsg_044.phpt
+++ b/Zend/tests/errmsg_044.phpt
@@ -8,7 +8,7 @@ $a[0][0] = new stdclass;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use object of type stdClass as array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/exception_001.phpt b/Zend/tests/exception_001.phpt
index ab74a920e7..a206f3461c 100644
--- a/Zend/tests/exception_001.phpt
+++ b/Zend/tests/exception_001.phpt
@@ -32,7 +32,7 @@ string(0) ""
string(0) ""
string(0) ""
-Fatal error: Uncaught exception 'Exception' in %s:%d
+Fatal error: Uncaught Exception in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/exception_003.phpt b/Zend/tests/exception_003.phpt
index e060aace05..1f60f7874e 100644
--- a/Zend/tests/exception_003.phpt
+++ b/Zend/tests/exception_003.phpt
@@ -8,7 +8,7 @@ throw new Exception(1);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message '1' in %s:%d
+Fatal error: Uncaught Exception: 1 in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/exception_004.phpt b/Zend/tests/exception_004.phpt
index cc9990c386..b7b776572c 100644
--- a/Zend/tests/exception_004.phpt
+++ b/Zend/tests/exception_004.phpt
@@ -15,7 +15,7 @@ try {
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Exceptions must be valid objects derived from the Exception base class' in %s:%d
+Fatal error: Uncaught EngineException: Exceptions must be valid objects derived from the Exception base class in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/exception_005.phpt b/Zend/tests/exception_005.phpt
index e52b907ac3..0d55f0c6b0 100644
--- a/Zend/tests/exception_005.phpt
+++ b/Zend/tests/exception_005.phpt
@@ -9,7 +9,7 @@ throw new a();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate interface a' in %s:%d
+Fatal error: Uncaught EngineException: Cannot instantiate interface a in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/exception_006.phpt b/Zend/tests/exception_006.phpt
index fb131b5de4..31dff03838 100644
--- a/Zend/tests/exception_006.phpt
+++ b/Zend/tests/exception_006.phpt
@@ -7,7 +7,7 @@ throw 1;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Can only throw objects' in %s:%d
+Fatal error: Uncaught EngineException: Can only throw objects in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/exception_007.phpt b/Zend/tests/exception_007.phpt
index 953e76513b..b3da7099a2 100644
--- a/Zend/tests/exception_007.phpt
+++ b/Zend/tests/exception_007.phpt
@@ -18,19 +18,19 @@ catch (Exception $e) {
?>
===DONE===
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'Another' in %sexception_007.php:%d
+Fatal error: Uncaught Exception: Another in %sexception_007.php:%d
Stack trace:
#0 {main}
-Next exception 'Exception' with message 'First' in %sexception_007.php:%d
+Next Exception: First in %sexception_007.php:%d
Stack trace:
#0 {main}
-Next exception 'Exception' with message 'Second' in %sexception_007.php:%d
+Next Exception: Second in %sexception_007.php:%d
Stack trace:
#0 {main}
-Next exception 'Exception' with message 'Third' in %sexception_007.php:%d
+Next Exception: Third in %sexception_007.php:%d
Stack trace:
#0 {main}
thrown in %sexception_007.php on line %d
diff --git a/Zend/tests/exception_008.phpt b/Zend/tests/exception_008.phpt
index 0d40541eee..fe4ee0d8ea 100644
--- a/Zend/tests/exception_008.phpt
+++ b/Zend/tests/exception_008.phpt
@@ -24,12 +24,12 @@ unset($ar);
?>
===DONE===
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'First' in %sexception_008.php:%d
+Fatal error: Uncaught Exception: First in %sexception_008.php:%d
Stack trace:
#0 %sexception_008.php(%d): TestFirst->__destruct()
#1 {main}
-Next exception 'Exception' with message 'Second' in %sexception_008.php:%d
+Next Exception: Second in %sexception_008.php:%d
Stack trace:
#0 %sexception_008.php(%d): TestSecond->__destruct()
#1 {main}
diff --git a/Zend/tests/exception_011.phpt b/Zend/tests/exception_011.phpt
index e02a75a2b0..d128f06ab8 100644
--- a/Zend/tests/exception_011.phpt
+++ b/Zend/tests/exception_011.phpt
@@ -13,7 +13,7 @@ assert(false);
--EXPECTHEADERS--
Content-type: text/html; charset=UTF-8
--EXPECTF--
-Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexception_011.php:%d
+Fatal error: Uncaught AssertionException: assert(false) in %sexception_011.php:%d
Stack trace:
#0 %sexception_011.php(%d): assert(false, 'assert(false)')
#1 {main}
diff --git a/Zend/tests/exception_012.phpt b/Zend/tests/exception_012.phpt
index 6493e2ccf7..eaeaef8604 100644
--- a/Zend/tests/exception_012.phpt
+++ b/Zend/tests/exception_012.phpt
@@ -13,7 +13,7 @@ $func();
--EXPECTHEADERS--
Content-type: text/html; charset=UTF-8
--EXPECTF--
-Fatal error: Uncaught exception 'AssertionException' with message 'assert(false)' in %sexception_012.php(%d) : runtime-created function:%d
+Fatal error: Uncaught AssertionException: assert(false) in %sexception_012.php(%d) : runtime-created function:%d
Stack trace:
#0 %sexception_012.php(%d) : runtime-created function(%d): assert(false, 'assert(false)')
#1 %sexception_012.php(%d): __lambda_func()
diff --git a/Zend/tests/exception_013.phpt b/Zend/tests/exception_013.phpt
index 4bbfc32050..e1a06cb0d0 100644
--- a/Zend/tests/exception_013.phpt
+++ b/Zend/tests/exception_013.phpt
@@ -33,7 +33,7 @@ Exception: Cannot access private property C::$p in %sexception_013.php on line 1
Exception: Attempt to unset static property C::$a in %sexception_013.php on line 19
-Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$a' in %sexception_013.php:24
+Fatal error: Uncaught EngineException: Access to undeclared static property: C::$a in %sexception_013.php:24
Stack trace:
#0 {main}
thrown in %sexception_013.php on line 24
diff --git a/Zend/tests/exception_014.phpt b/Zend/tests/exception_014.phpt
index c1f8615926..8da20dccfa 100644
--- a/Zend/tests/exception_014.phpt
+++ b/Zend/tests/exception_014.phpt
@@ -18,7 +18,7 @@ var_dump($x->p);
--EXPECTF--
Exception: Cannot access private property C::$p in %sexception_014.php on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property C::$p' in %sexception_014.php:%d
+Fatal error: Uncaught EngineException: Cannot access private property C::$p in %sexception_014.php:%d
Stack trace:
#0 {main}
thrown in %sexception_014.php on line %d
diff --git a/Zend/tests/exception_015.phpt b/Zend/tests/exception_015.phpt
index f4db02aa40..a1b9ae48e2 100644
--- a/Zend/tests/exception_015.phpt
+++ b/Zend/tests/exception_015.phpt
@@ -14,7 +14,7 @@ $s[] = "D";
--EXPECTF--
Exception: [] operator not supported for strings in %sexception_015.php on line %d
-Fatal error: Uncaught exception 'EngineException' with message '[] operator not supported for strings' in %sexception_015.php:%d
+Fatal error: Uncaught EngineException: [] operator not supported for strings in %sexception_015.php:%d
Stack trace:
#0 {main}
thrown in %sexception_015.php on line %d
diff --git a/Zend/tests/exception_016.phpt b/Zend/tests/exception_016.phpt
index f4ad66855b..7e4c4c3e24 100644
--- a/Zend/tests/exception_016.phpt
+++ b/Zend/tests/exception_016.phpt
@@ -13,7 +13,7 @@ $this->foo();
--EXPECTF--
Exception: Using $this when not in object context in %sexception_016.php on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %sexception_016.php:%d
+Fatal error: Uncaught EngineException: Using $this when not in object context in %sexception_016.php:%d
Stack trace:
#0 {main}
thrown in %sexception_016.php on line %d
diff --git a/Zend/tests/exception_017.phpt b/Zend/tests/exception_017.phpt
index 5a5cca7488..261ce3d091 100644
--- a/Zend/tests/exception_017.phpt
+++ b/Zend/tests/exception_017.phpt
@@ -33,7 +33,7 @@ Exception: Cannot call abstract method C::foo() in %sexception_017.php on line %
Exception: Argument 1 passed to foo() must be callable, string given, called in %sexception_017.php on line %d
Exception: Cannot call abstract method C::foo()
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot call abstract method C::foo()' in %sexception_017.php:%d
+Fatal error: Uncaught EngineException: Cannot call abstract method C::foo() in %sexception_017.php:%d
Stack trace:
#0 {main}
thrown in %sexception_017.php on line %d
diff --git a/Zend/tests/exception_handler_002.phpt b/Zend/tests/exception_handler_002.phpt
index 7dfbb38fd1..5fd018f32c 100644
--- a/Zend/tests/exception_handler_002.phpt
+++ b/Zend/tests/exception_handler_002.phpt
@@ -20,7 +20,7 @@ echo "Done\n";
--EXPECTF--
string(12) "test thrown!"
-Fatal error: Uncaught exception 'Exception' in %sexception_handler_002.php:7
+Fatal error: Uncaught Exception in %sexception_handler_002.php:7
Stack trace:
#0 [internal function]: foo(Object(test))
#1 {main}
diff --git a/Zend/tests/exception_with_by_ref_message.phpt b/Zend/tests/exception_with_by_ref_message.phpt
index f15c3e2719..c193c2f312 100644
--- a/Zend/tests/exception_with_by_ref_message.phpt
+++ b/Zend/tests/exception_with_by_ref_message.phpt
@@ -15,7 +15,7 @@ throw new MyException($msg);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'MyException' with message 'Message' in %s:%d
+Fatal error: Uncaught MyException: Message in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/gc_030.phpt b/Zend/tests/gc_030.phpt
index 4dff71a3bf..f8b7ac297d 100644
--- a/Zend/tests/gc_030.phpt
+++ b/Zend/tests/gc_030.phpt
@@ -20,13 +20,13 @@ unset($f1, $f2);
gc_collect_cycles();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'foobar' in %sgc_030.php:%d
+Fatal error: Uncaught Exception: foobar in %sgc_030.php:%d
Stack trace:
#0 [internal function]: foo->__destruct()
#1 %sgc_030.php(%d): gc_collect_cycles()
#2 {main}
-Next exception 'Exception' with message 'foobar' in %sgc_030.php:%d
+Next Exception: foobar in %sgc_030.php:%d
Stack trace:
#0 [internal function]: foo->__destruct()
#1 %sgc_030.php(%d): gc_collect_cycles()
diff --git a/Zend/tests/generators/basic_yield_from_exception_handling.phpt b/Zend/tests/generators/basic_yield_from_exception_handling.phpt
index 180cbee9dd..c696f6486d 100644
--- a/Zend/tests/generators/basic_yield_from_exception_handling.phpt
+++ b/Zend/tests/generators/basic_yield_from_exception_handling.phpt
@@ -32,27 +32,27 @@ var_dump($gen->valid());
--EXPECTF--
int(0)
catch in gen()
-exception 'Exception' with message '0' in %s:%d
+Exception: 0 in %s:%d
Stack trace:
#0 {main}
int(1)
catch in from()
-exception 'Exception' with message '1' in %s:%d
+Exception: 1 in %s:%d
Stack trace:
#0 {main}
int(2)
catch in gen()
-exception 'Exception' with message '2' in %s:%d
+Exception: 2 in %s:%d
Stack trace:
#0 {main}
int(3)
catch in from()
-exception 'Exception' with message '3' in %s:%d
+Exception: 3 in %s:%d
Stack trace:
#0 {main}
int(4)
catch in {main}
-exception 'Exception' with message '4' in %s:%d
+Exception: 4 in %s:%d
Stack trace:
#0 {main}
bool(false)
diff --git a/Zend/tests/generators/bug63066.phpt b/Zend/tests/generators/bug63066.phpt
index 439b1f5a64..a12eb0a809 100644
--- a/Zend/tests/generators/bug63066.phpt
+++ b/Zend/tests/generators/bug63066.phpt
@@ -13,7 +13,7 @@ foreach(gen(new stdClass()) as $value)
--EXPECTF--
foo
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method stdClass::fatalError()' in %sbug63066.php:5
+Fatal error: Uncaught EngineException: Call to undefined method stdClass::fatalError() in %sbug63066.php:5
Stack trace:
#0 %s(%d): gen(Object(stdClass))
#1 {main}
diff --git a/Zend/tests/generators/bug65161.phpt b/Zend/tests/generators/bug65161.phpt
index 104462fd22..8c838cbdd3 100644
--- a/Zend/tests/generators/bug65161.phpt
+++ b/Zend/tests/generators/bug65161.phpt
@@ -17,7 +17,7 @@ foreach (testGenerator() as $i);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function foo()' in %s:%d
+Fatal error: Uncaught EngineException: Call to undefined function foo() in %s:%d
Stack trace:
#0 [internal function]: autoload('SyntaxError')
#1 %s(%d): spl_autoload_call('SyntaxError')
diff --git a/Zend/tests/generators/clone.phpt b/Zend/tests/generators/clone.phpt
index cdf0453577..e6720e70c1 100644
--- a/Zend/tests/generators/clone.phpt
+++ b/Zend/tests/generators/clone.phpt
@@ -12,7 +12,7 @@ clone $gen;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class Generator' in %s:%d
+Fatal error: Uncaught EngineException: Trying to clone an uncloneable object of class Generator in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/generators/errors/generator_instantiate_error.phpt b/Zend/tests/generators/errors/generator_instantiate_error.phpt
index a67a2f30c8..4244e9a90d 100644
--- a/Zend/tests/generators/errors/generator_instantiate_error.phpt
+++ b/Zend/tests/generators/errors/generator_instantiate_error.phpt
@@ -7,7 +7,7 @@ new Generator;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'The "Generator" class is reserved for internal use and cannot be manually instantiated' in %s:%d
+Fatal error: Uncaught EngineException: The "Generator" class is reserved for internal use and cannot be manually instantiated in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/generators/errors/non_ref_generator_iterated_by_ref_error.phpt b/Zend/tests/generators/errors/non_ref_generator_iterated_by_ref_error.phpt
index 7878369591..4ea1b6505c 100644
--- a/Zend/tests/generators/errors/non_ref_generator_iterated_by_ref_error.phpt
+++ b/Zend/tests/generators/errors/non_ref_generator_iterated_by_ref_error.phpt
@@ -10,7 +10,7 @@ foreach ($gen as &$value) { }
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'You can only iterate a generator by-reference if it declared that it yields by-reference' in %s:%d
+Fatal error: Uncaught Exception: You can only iterate a generator by-reference if it declared that it yields by-reference in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/generators/errors/resume_running_generator_error.phpt b/Zend/tests/generators/errors/resume_running_generator_error.phpt
index e31a2c49ae..48ad1e8df9 100644
--- a/Zend/tests/generators/errors/resume_running_generator_error.phpt
+++ b/Zend/tests/generators/errors/resume_running_generator_error.phpt
@@ -21,7 +21,7 @@ $gen->next();
--EXPECTF--
Exception: Cannot resume an already running generator
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot resume an already running generator' in %s:%d
+Fatal error: Uncaught EngineException: Cannot resume an already running generator in %s:%d
Stack trace:
#0 %s(%d): Generator->next()
#1 [internal function]: gen()
diff --git a/Zend/tests/generators/errors/serialize_unserialize_error.phpt b/Zend/tests/generators/errors/serialize_unserialize_error.phpt
index b5e77e5028..fc0647395d 100644
--- a/Zend/tests/generators/errors/serialize_unserialize_error.phpt
+++ b/Zend/tests/generators/errors/serialize_unserialize_error.phpt
@@ -27,7 +27,7 @@ try {
?>
--EXPECTF--
-exception 'Exception' with message 'Serialization of 'Generator' is not allowed' in %s:%d
+Exception: Serialization of 'Generator' is not allowed in %s:%d
Stack trace:
#0 %s(%d): serialize(Object(Generator))
#1 {main}
@@ -37,7 +37,7 @@ Warning: Erroneous data format for unserializing 'Generator' in %sserialize_unse
Notice: unserialize(): Error at offset 19 of 20 bytes in %sserialize_unserialize_error.php on line %s
bool(false)
-exception 'Exception' with message 'Unserialization of 'Generator' is not allowed' in %s:%d
+Exception: Unserialization of 'Generator' is not allowed in %s:%d
Stack trace:
#0 %s(%d): unserialize('C:9:"Generator"...')
#1 {main}
diff --git a/Zend/tests/generators/errors/yield_in_force_closed_finally_error.phpt b/Zend/tests/generators/errors/yield_in_force_closed_finally_error.phpt
index 83523b1baa..a9f56af041 100644
--- a/Zend/tests/generators/errors/yield_in_force_closed_finally_error.phpt
+++ b/Zend/tests/generators/errors/yield_in_force_closed_finally_error.phpt
@@ -26,7 +26,7 @@ unset($gen);
before yield
before yield in finally
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot yield from finally in a force-closed generator' in %s:%d
+Fatal error: Uncaught EngineException: Cannot yield from finally in a force-closed generator in %s:%d
Stack trace:
#0 %s(%d): gen()
#1 {main}
diff --git a/Zend/tests/generators/finally/throw_yield.phpt b/Zend/tests/generators/finally/throw_yield.phpt
index 2013c3ee14..6d7d4f5d15 100644
--- a/Zend/tests/generators/finally/throw_yield.phpt
+++ b/Zend/tests/generators/finally/throw_yield.phpt
@@ -17,7 +17,7 @@ foreach (foo(1, 5) as $x) {
--EXPECTF--
1
-Fatal error: Uncaught exception 'Exception' in %s:%d
+Fatal error: Uncaught Exception in %s:%d
Stack trace:
#0 %s(%d): foo(1, 5)
#1 {main}
diff --git a/Zend/tests/generators/finally/yield_throw.phpt b/Zend/tests/generators/finally/yield_throw.phpt
index 0ead4501af..e191ea0dc1 100644
--- a/Zend/tests/generators/finally/yield_throw.phpt
+++ b/Zend/tests/generators/finally/yield_throw.phpt
@@ -17,7 +17,7 @@ foreach (foo(1, 5) as $x) {
--EXPECTF--
1
-Fatal error: Uncaught exception 'Exception' in %s:%d
+Fatal error: Uncaught Exception in %s:%d
Stack trace:
#0 %s(%d): foo(1, 5)
#1 {main}
diff --git a/Zend/tests/generators/generator_rewind.phpt b/Zend/tests/generators/generator_rewind.phpt
index f5452a7113..651f4d9e24 100644
--- a/Zend/tests/generators/generator_rewind.phpt
+++ b/Zend/tests/generators/generator_rewind.phpt
@@ -49,12 +49,12 @@ $gen->rewind();
before yield
after yield
-exception 'Exception' with message 'Cannot rewind a generator that was already run' in %s:%d
+Exception: Cannot rewind a generator that was already run in %s:%d
Stack trace:
#0 %s(%d): Generator->rewind()
#1 {main}
-exception 'Exception' with message 'Cannot traverse an already closed generator' in %s:%d
+Exception: Cannot traverse an already closed generator in %s:%d
Stack trace:
#0 {main}
diff --git a/Zend/tests/generators/generator_throwing_in_foreach.phpt b/Zend/tests/generators/generator_throwing_in_foreach.phpt
index dbf20c2ca1..44a867404f 100644
--- a/Zend/tests/generators/generator_throwing_in_foreach.phpt
+++ b/Zend/tests/generators/generator_throwing_in_foreach.phpt
@@ -12,7 +12,7 @@ foreach (gen() as $value) { }
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' with message 'foo' in %s:%d
+Fatal error: Uncaught Exception: foo in %s:%d
Stack trace:
#0 %s(%d): gen()
#1 {main}
diff --git a/Zend/tests/generators/mutli_yield_from_with_exception.phpt b/Zend/tests/generators/mutli_yield_from_with_exception.phpt
index 5180caa328..2dc71815f0 100644
--- a/Zend/tests/generators/mutli_yield_from_with_exception.phpt
+++ b/Zend/tests/generators/mutli_yield_from_with_exception.phpt
@@ -33,7 +33,7 @@ do {
Generator 0
int(1)
Caught exception!
-exception 'Exception' in %s:%d
+Exception in %s:%d
Stack trace:
#0 %s(%d): from()
#1 [internal function]: gen(Object(Generator))
@@ -41,7 +41,7 @@ Stack trace:
#3 {main}
Generator 1
-Fatal error: Uncaught exception 'ClosedGeneratorException' with message 'Generator yielded from aborted, no return value available' in %s:%d
+Fatal error: Uncaught ClosedGeneratorException: Generator yielded from aborted, no return value available in %s:%d
Stack trace:
#0 [internal function]: gen(Object(Generator))
#1 %s(%d): Generator->current()
diff --git a/Zend/tests/generators/throw_already_closed.phpt b/Zend/tests/generators/throw_already_closed.phpt
index e918e540ab..bf639801e3 100644
--- a/Zend/tests/generators/throw_already_closed.phpt
+++ b/Zend/tests/generators/throw_already_closed.phpt
@@ -17,7 +17,7 @@ $gen->throw(new Exception('test'));
--EXPECTF--
bool(false)
-Fatal error: Uncaught exception 'Exception' with message 'test' in %s:%d
+Fatal error: Uncaught Exception: test in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/generators/throw_caught.phpt b/Zend/tests/generators/throw_caught.phpt
index c5e9d81ebc..9372ba84d5 100644
--- a/Zend/tests/generators/throw_caught.phpt
+++ b/Zend/tests/generators/throw_caught.phpt
@@ -20,7 +20,7 @@ var_dump($gen->throw(new RuntimeException('Test')));
?>
--EXPECTF--
before yield
-exception 'RuntimeException' with message 'Test' in %s:%d
+RuntimeException: Test in %s:%d
Stack trace:
#0 {main}
diff --git a/Zend/tests/generators/throw_not_an_exception.phpt b/Zend/tests/generators/throw_not_an_exception.phpt
index 4ff1464e7c..29f25252a8 100644
--- a/Zend/tests/generators/throw_not_an_exception.phpt
+++ b/Zend/tests/generators/throw_not_an_exception.phpt
@@ -12,7 +12,7 @@ $gen->throw(new stdClass);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Exceptions must be valid objects derived from the Exception base class' in %s:%d
+Fatal error: Uncaught EngineException: Exceptions must be valid objects derived from the Exception base class in %s:%d
Stack trace:
#0 [internal function]: gen()
#1 %s(%d): Generator->throw(Object(stdClass))
diff --git a/Zend/tests/generators/throw_rethrow.phpt b/Zend/tests/generators/throw_rethrow.phpt
index 65044ee3f3..f9e3f78f48 100644
--- a/Zend/tests/generators/throw_rethrow.phpt
+++ b/Zend/tests/generators/throw_rethrow.phpt
@@ -20,12 +20,12 @@ var_dump($gen->throw(new RuntimeException('throw')));
?>
--EXPECTF--
before yield
-Caught: exception 'RuntimeException' with message 'throw' in %s:%d
+Caught: RuntimeException: throw in %s:%d
Stack trace:
#0 {main}
-Fatal error: Uncaught exception 'LogicException' with message 'new throw' in %s:%d
+Fatal error: Uncaught LogicException: new throw in %s:%d
Stack trace:
#0 [internal function]: gen()
#1 %s(%d): Generator->throw(Object(RuntimeException))
diff --git a/Zend/tests/generators/throw_uncaught.phpt b/Zend/tests/generators/throw_uncaught.phpt
index f06cff1b8e..73f59094ca 100644
--- a/Zend/tests/generators/throw_uncaught.phpt
+++ b/Zend/tests/generators/throw_uncaught.phpt
@@ -13,7 +13,7 @@ var_dump($gen->throw(new RuntimeException('test')));
?>
--EXPECTF--
-Fatal error: Uncaught exception 'RuntimeException' with message 'test' in %s:%d
+Fatal error: Uncaught RuntimeException: test in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/generators/yield_from_already_running.phpt b/Zend/tests/generators/yield_from_already_running.phpt
index 16fda98368..2242542525 100644
--- a/Zend/tests/generators/yield_from_already_running.phpt
+++ b/Zend/tests/generators/yield_from_already_running.phpt
@@ -11,7 +11,7 @@ function gen() {
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Impossible to yield from the Generator being currently run' in %s:%d
+Fatal error: Uncaught EngineException: Impossible to yield from the Generator being currently run in %s:%d
Stack trace:
#0 [internal function]: gen()
#1 %s(%d): Generator->send(Object(Generator))
diff --git a/Zend/tests/generators/yield_from_multi_tree_exception.phpt b/Zend/tests/generators/yield_from_multi_tree_exception.phpt
index b250a744df..ec423606c2 100644
--- a/Zend/tests/generators/yield_from_multi_tree_exception.phpt
+++ b/Zend/tests/generators/yield_from_multi_tree_exception.phpt
@@ -62,7 +62,7 @@ int(11)
int(12)
int(13)
int(14)
-exception 'Exception' in %s:%d
+Exception in %s:%d
Stack trace:
#0 %s(%d): from(5)
#1 %s(%d): gen(Object(Generator), 1)
@@ -70,7 +70,7 @@ Stack trace:
#3 [internal function]: gen(Object(Generator), 3)
#4 %s(%d): Generator->next()
#5 {main}
-exception 'ClosedGeneratorException' with message 'Generator yielded from aborted, no return value available' in %s:%d
+ClosedGeneratorException: Generator yielded from aborted, no return value available in %s:%d
Stack trace:
#0 [internal function]: gen(Object(Generator), 1)
#1 %s(%d): Generator->current()
diff --git a/Zend/tests/indirect_call_array_001.phpt b/Zend/tests/indirect_call_array_001.phpt
index 73bd1584ef..f9075496fb 100644
--- a/Zend/tests/indirect_call_array_001.phpt
+++ b/Zend/tests/indirect_call_array_001.phpt
@@ -8,7 +8,7 @@ $arr();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'a' not found' in %s:%d
+Fatal error: Uncaught EngineException: Class 'a' not found in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/indirect_call_array_002.phpt b/Zend/tests/indirect_call_array_002.phpt
index 09c3e79e1a..2492793139 100644
--- a/Zend/tests/indirect_call_array_002.phpt
+++ b/Zend/tests/indirect_call_array_002.phpt
@@ -8,7 +8,7 @@ $arr();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method stdClass::b()' in %s:%d
+Fatal error: Uncaught EngineException: Call to undefined method stdClass::b() in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/indirect_method_call_002.phpt b/Zend/tests/indirect_method_call_002.phpt
index 8b3e9299dd..ec3df8f268 100644
--- a/Zend/tests/indirect_method_call_002.phpt
+++ b/Zend/tests/indirect_method_call_002.phpt
@@ -29,7 +29,7 @@ string(7) "testing"
string(3) "foo"
NULL
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method foo::www()' in %s:%d
+Fatal error: Uncaught EngineException: Call to undefined method foo::www() in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/list_005.phpt b/Zend/tests/list_005.phpt
index d82120e252..f03cf0a404 100644
--- a/Zend/tests/list_005.phpt
+++ b/Zend/tests/list_005.phpt
@@ -44,7 +44,7 @@ NULL
NULL
----
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use object of type stdClass as array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/list_007.phpt b/Zend/tests/list_007.phpt
index 1752b749d8..62de5c318c 100644
--- a/Zend/tests/list_007.phpt
+++ b/Zend/tests/list_007.phpt
@@ -9,7 +9,7 @@ var_dump($x, $y);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type Closure as array' in %slist_007.php:3
+Fatal error: Uncaught EngineException: Cannot use object of type Closure as array in %slist_007.php:3
Stack trace:
#0 {main}
thrown in %slist_007.php on line 3
diff --git a/Zend/tests/methods-on-non-objects.phpt b/Zend/tests/methods-on-non-objects.phpt
index 803de1cffa..892424519f 100644
--- a/Zend/tests/methods-on-non-objects.phpt
+++ b/Zend/tests/methods-on-non-objects.phpt
@@ -9,7 +9,7 @@ echo "Should not get here!\n";
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function method() on null' in %s:%d
+Fatal error: Uncaught EngineException: Call to a member function method() on null in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/mul_001.phpt b/Zend/tests/mul_001.phpt
index 71ec3feb54..4c00c9cc76 100644
--- a/Zend/tests/mul_001.phpt
+++ b/Zend/tests/mul_001.phpt
@@ -20,7 +20,7 @@ echo "Done\n";
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/not_002.phpt b/Zend/tests/not_002.phpt
index 78899a4652..7e1dafeaab 100644
--- a/Zend/tests/not_002.phpt
+++ b/Zend/tests/not_002.phpt
@@ -20,7 +20,7 @@ echo "Done\n";
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/ns_004.phpt b/Zend/tests/ns_004.phpt
index e7b63ea1ac..542251a6e0 100644
--- a/Zend/tests/ns_004.phpt
+++ b/Zend/tests/ns_004.phpt
@@ -6,7 +6,7 @@ namespace test\ns1;
echo get_class(new Exception()),"\n";
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Class 'test\ns1\Exception' not found' in %sns_004.php:%d
+Fatal error: Uncaught EngineException: Class 'test\ns1\Exception' not found in %sns_004.php:%d
Stack trace:
#0 {main}
thrown in %sns_004.php on line %d \ No newline at end of file
diff --git a/Zend/tests/ns_026.phpt b/Zend/tests/ns_026.phpt
index bb596901e3..7e4d14ede6 100644
--- a/Zend/tests/ns_026.phpt
+++ b/Zend/tests/ns_026.phpt
@@ -32,7 +32,7 @@ Method - Foo\Foo::__construct
Method - Foo\Foo::Bar
Func - Foo\Bar
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function Foo\Foo\Bar()' in %sns_026.php:%d
+Fatal error: Uncaught EngineException: Call to undefined function Foo\Foo\Bar() in %sns_026.php:%d
Stack trace:
#0 {main}
thrown in %sns_026.php on line %d \ No newline at end of file
diff --git a/Zend/tests/ns_038.phpt b/Zend/tests/ns_038.phpt
index 5664eafdcb..f40eb07c8d 100644
--- a/Zend/tests/ns_038.phpt
+++ b/Zend/tests/ns_038.phpt
@@ -11,7 +11,7 @@ function foo() {
--EXPECTF--
ok
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method Exception::bar()' in %sns_038.php:7
+Fatal error: Uncaught EngineException: Call to undefined method Exception::bar() in %sns_038.php:7
Stack trace:
#0 {main}
thrown in %sns_038.php on line 7
diff --git a/Zend/tests/ns_057.phpt b/Zend/tests/ns_057.phpt
index aae2e7c12b..006b113e2e 100644
--- a/Zend/tests/ns_057.phpt
+++ b/Zend/tests/ns_057.phpt
@@ -56,7 +56,7 @@ const ok
class ok
ok
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Test\ns1\unknown'' in %sns_057.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'Test\ns1\unknown' in %sns_057.php:%d
Stack trace:
#0 {main}
thrown in %sns_057.php on line %d \ No newline at end of file
diff --git a/Zend/tests/ns_058.phpt b/Zend/tests/ns_058.phpt
index b46c968ff4..77a4c71391 100644
--- a/Zend/tests/ns_058.phpt
+++ b/Zend/tests/ns_058.phpt
@@ -54,7 +54,7 @@ const ok
class ok
ok
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_058.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_058.php:%d
Stack trace:
#0 {main}
thrown in %sns_058.php on line %d
diff --git a/Zend/tests/ns_076.phpt b/Zend/tests/ns_076.phpt
index ac4e519b8a..53df5d8077 100644
--- a/Zend/tests/ns_076.phpt
+++ b/Zend/tests/ns_076.phpt
@@ -22,7 +22,7 @@ array(1) {
%s(7) "unknown"
}
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_076.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_076.php:%d
Stack trace:
#0 {main}
thrown in %sns_076.php on line %d
diff --git a/Zend/tests/ns_077_1.phpt b/Zend/tests/ns_077_1.phpt
index ffe4a7d3a5..fdcf6cf954 100644
--- a/Zend/tests/ns_077_1.phpt
+++ b/Zend/tests/ns_077_1.phpt
@@ -10,7 +10,7 @@ function foo($a = array(0 => \unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo\foo()
#1 {main}
diff --git a/Zend/tests/ns_077_2.phpt b/Zend/tests/ns_077_2.phpt
index c8c1b96399..f64b80939f 100644
--- a/Zend/tests/ns_077_2.phpt
+++ b/Zend/tests/ns_077_2.phpt
@@ -10,7 +10,7 @@ function foo($a = array(\unknown => unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo\foo()
#1 {main}
diff --git a/Zend/tests/ns_077_3.phpt b/Zend/tests/ns_077_3.phpt
index ff53e793c2..05d1c91c47 100644
--- a/Zend/tests/ns_077_3.phpt
+++ b/Zend/tests/ns_077_3.phpt
@@ -10,7 +10,7 @@ function foo($a = array(namespace\unknown => unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'foo\unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo\foo()
#1 {main}
diff --git a/Zend/tests/ns_077_4.phpt b/Zend/tests/ns_077_4.phpt
index 4b7f06dc9a..ce30aeedcc 100644
--- a/Zend/tests/ns_077_4.phpt
+++ b/Zend/tests/ns_077_4.phpt
@@ -10,7 +10,7 @@ function foo($a = array(0 => namespace\unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'foo\unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo\foo()
#1 {main}
diff --git a/Zend/tests/ns_077_5.phpt b/Zend/tests/ns_077_5.phpt
index ade0983e1f..230d2acc63 100644
--- a/Zend/tests/ns_077_5.phpt
+++ b/Zend/tests/ns_077_5.phpt
@@ -9,7 +9,7 @@ function foo($a = array(0 => \unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo()
#1 {main}
diff --git a/Zend/tests/ns_077_6.phpt b/Zend/tests/ns_077_6.phpt
index ade0983e1f..230d2acc63 100644
--- a/Zend/tests/ns_077_6.phpt
+++ b/Zend/tests/ns_077_6.phpt
@@ -9,7 +9,7 @@ function foo($a = array(0 => \unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo()
#1 {main}
diff --git a/Zend/tests/ns_077_7.phpt b/Zend/tests/ns_077_7.phpt
index 650eb07b63..069d825073 100644
--- a/Zend/tests/ns_077_7.phpt
+++ b/Zend/tests/ns_077_7.phpt
@@ -9,7 +9,7 @@ function foo($a = array(0 => namespace\unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo()
#1 {main}
diff --git a/Zend/tests/ns_077_8.phpt b/Zend/tests/ns_077_8.phpt
index 34e9554164..b271effecf 100644
--- a/Zend/tests/ns_077_8.phpt
+++ b/Zend/tests/ns_077_8.phpt
@@ -9,7 +9,7 @@ function foo($a = array(namespace\unknown => unknown))
foo();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Fatal error: Uncaught EngineException: Undefined constant 'unknown' in %sns_077_%d.php:%d
Stack trace:
#0 %s(%d): foo()
#1 {main}
diff --git a/Zend/tests/ns_092.phpt b/Zend/tests/ns_092.phpt
index ef0f5dacf9..1d063e65fb 100644
--- a/Zend/tests/ns_092.phpt
+++ b/Zend/tests/ns_092.phpt
@@ -64,7 +64,7 @@ Foo\Bar\fiz
Foo\Bar\biz
Foo\Bar\buz
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function Foo\Bar\A()' in %sns_092.php:45
+Fatal error: Uncaught EngineException: Call to undefined function Foo\Bar\A() in %sns_092.php:45
Stack trace:
#0 {main}
thrown in %sns_092.php on line 45
diff --git a/Zend/tests/objects_017.phpt b/Zend/tests/objects_017.phpt
index c07de71b73..0f9f3daa13 100644
--- a/Zend/tests/objects_017.phpt
+++ b/Zend/tests/objects_017.phpt
@@ -15,7 +15,7 @@ test()->test = 2;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property foo::$test' in %s:%d
+Fatal error: Uncaught EngineException: Cannot access private property foo::$test in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/objects_025.phpt b/Zend/tests/objects_025.phpt
index e2711bd417..7f58696efb 100644
--- a/Zend/tests/objects_025.phpt
+++ b/Zend/tests/objects_025.phpt
@@ -43,7 +43,7 @@ static - ok
non-static - ok
static - ok
-Fatal error: Uncaught exception 'EngineException' with message 'Method name must be a string' in %s:%d
+Fatal error: Uncaught EngineException: Method name must be a string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/objects_026.phpt b/Zend/tests/objects_026.phpt
index e3bc411a46..2ea8785658 100644
--- a/Zend/tests/objects_026.phpt
+++ b/Zend/tests/objects_026.phpt
@@ -10,7 +10,7 @@ try {
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %s:%d
+Fatal error: Uncaught EngineException: Using $this when not in object context in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/objects_029.phpt b/Zend/tests/objects_029.phpt
index 883785d75c..b8a01af260 100644
--- a/Zend/tests/objects_029.phpt
+++ b/Zend/tests/objects_029.phpt
@@ -23,7 +23,7 @@ new foo;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: foo::$f' in %s:%d
+Fatal error: Uncaught EngineException: Access to undeclared static property: foo::$f in %s:%d
Stack trace:
#0 %s(%d): foo->__construct()
#1 {main}
diff --git a/Zend/tests/objects_030.phpt b/Zend/tests/objects_030.phpt
index 21e42cb247..35db8528d0 100644
--- a/Zend/tests/objects_030.phpt
+++ b/Zend/tests/objects_030.phpt
@@ -23,7 +23,7 @@ new foo;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: bar::$f' in %s:%d
+Fatal error: Uncaught EngineException: Access to undeclared static property: bar::$f in %s:%d
Stack trace:
#0 %s(%d): foo->__construct()
#1 {main}
diff --git a/Zend/tests/offset_assign.phpt b/Zend/tests/offset_assign.phpt
index ab547c8cd1..b1d7fe444f 100644
--- a/Zend/tests/offset_assign.phpt
+++ b/Zend/tests/offset_assign.phpt
@@ -10,7 +10,7 @@ echo "Done\n";
--EXPECTF--
Warning: Illegal string offset 'x' in %soffset_assign.php on line %d
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an array' in %soffset_assign.php:%d
+Fatal error: Uncaught EngineException: Cannot use string offset as an array in %soffset_assign.php:%d
Stack trace:
#0 {main}
thrown in %soffset_assign.php on line %d
diff --git a/Zend/tests/offset_object.phpt b/Zend/tests/offset_object.phpt
index 4b9d9329a2..a4f970c636 100644
--- a/Zend/tests/offset_object.phpt
+++ b/Zend/tests/offset_object.phpt
@@ -8,7 +8,7 @@ var_dump($object[1]);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use object of type stdClass as array in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/parent_class_name_without_parent.phpt b/Zend/tests/parent_class_name_without_parent.phpt
index 8cef8619e3..f5ed611756 100644
--- a/Zend/tests/parent_class_name_without_parent.phpt
+++ b/Zend/tests/parent_class_name_without_parent.phpt
@@ -17,7 +17,7 @@ class C {
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "parent" when current class scope has no parent' in %s:5
+Fatal error: Uncaught EngineException: Cannot use "parent" when current class scope has no parent in %s:5
Stack trace:
#0 %s(%d): C->f()
#1 {main}
diff --git a/Zend/tests/return_types/020.phpt b/Zend/tests/return_types/020.phpt
index d43496b441..101de62dd7 100644
--- a/Zend/tests/return_types/020.phpt
+++ b/Zend/tests/return_types/020.phpt
@@ -10,7 +10,7 @@ function test() : array {
test();
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' in %s:%d
+Fatal error: Uncaught Exception in %s:%d
Stack trace:
#0 %s(%d): test()
#1 {main}
diff --git a/Zend/tests/str_offset_002.phpt b/Zend/tests/str_offset_002.phpt
index 596a7c6eba..8e29980d67 100644
--- a/Zend/tests/str_offset_002.phpt
+++ b/Zend/tests/str_offset_002.phpt
@@ -6,7 +6,7 @@ $a = "aaa";
$x = array(&$a[1]);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot create references to/from string offsets' in %sstr_offset_002.php:3
+Fatal error: Uncaught EngineException: Cannot create references to/from string offsets in %sstr_offset_002.php:3
Stack trace:
#0 {main}
thrown in %sstr_offset_002.php on line 3
diff --git a/Zend/tests/sub_001.phpt b/Zend/tests/sub_001.phpt
index bbfdaa7fa5..8a0e60f928 100644
--- a/Zend/tests/sub_001.phpt
+++ b/Zend/tests/sub_001.phpt
@@ -20,7 +20,7 @@ echo "Done\n";
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Fatal error: Uncaught EngineException: Unsupported operand types in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/throw_reference.phpt b/Zend/tests/throw_reference.phpt
index f02eaa6540..eb85c5ed17 100644
--- a/Zend/tests/throw_reference.phpt
+++ b/Zend/tests/throw_reference.phpt
@@ -9,7 +9,7 @@ throw $e;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'Exception' in %s:%d
+Fatal error: Uncaught Exception in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/traits/bug60173.phpt b/Zend/tests/traits/bug60173.phpt
index ddc667693b..88381ded5a 100644
--- a/Zend/tests/traits/bug60173.phpt
+++ b/Zend/tests/traits/bug60173.phpt
@@ -9,7 +9,7 @@ $rc = new ReflectionClass('foo');
$rc->newInstance();
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate trait foo' in %s:%d
+Fatal error: Uncaught EngineException: Cannot instantiate trait foo in %s:%d
Stack trace:
#0 %s(%d): ReflectionClass->newInstance()
#1 {main}
diff --git a/Zend/tests/traits/bugs/alias01.phpt b/Zend/tests/traits/bugs/alias01.phpt
index 094948c273..7d0dfed187 100644
--- a/Zend/tests/traits/bugs/alias01.phpt
+++ b/Zend/tests/traits/bugs/alias01.phpt
@@ -23,7 +23,7 @@ T:m1
T:m1
T:m2
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method C1::a2()' in %s:%d
+Fatal error: Uncaught EngineException: Call to undefined method C1::a2() in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/traits/error_007.phpt b/Zend/tests/traits/error_007.phpt
index 92ff664174..85c65e48ae 100644
--- a/Zend/tests/traits/error_007.phpt
+++ b/Zend/tests/traits/error_007.phpt
@@ -10,7 +10,7 @@ new abc;
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate trait abc' in %s:%d
+Fatal error: Uncaught EngineException: Cannot instantiate trait abc in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/traits/error_012.phpt b/Zend/tests/traits/error_012.phpt
index 8e631fd5cc..ba1055e161 100644
--- a/Zend/tests/traits/error_012.phpt
+++ b/Zend/tests/traits/error_012.phpt
@@ -16,7 +16,7 @@ var_dump($x->test());
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to protected method bar::test() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to protected method bar::test() from context '' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/traits/language008a.phpt b/Zend/tests/traits/language008a.phpt
index 45164d550c..34bfd38a58 100644
--- a/Zend/tests/traits/language008a.phpt
+++ b/Zend/tests/traits/language008a.phpt
@@ -20,7 +20,7 @@ $o->sayHello();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to protected method MyClass::sayHello() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to protected method MyClass::sayHello() from context '' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d \ No newline at end of file
diff --git a/Zend/tests/traits/language008b.phpt b/Zend/tests/traits/language008b.phpt
index 14e4ba8198..e3c099f74e 100644
--- a/Zend/tests/traits/language008b.phpt
+++ b/Zend/tests/traits/language008b.phpt
@@ -27,7 +27,7 @@ $o->sayHelloWorld();
?>
--EXPECTF--
Hello World!Hello World!
-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method MyClass::sayHelloWorld() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method MyClass::sayHelloWorld() from context '' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d \ No newline at end of file
diff --git a/Zend/tests/try_finally_001.phpt b/Zend/tests/try_finally_001.phpt
index 0f740872c2..33744d064c 100644
--- a/Zend/tests/try_finally_001.phpt
+++ b/Zend/tests/try_finally_001.phpt
@@ -15,7 +15,7 @@ foo("finally");
--EXPECTF--
string(7) "finally"
-Fatal error: Uncaught exception 'Exception' with message 'ex' %s
+Fatal error: Uncaught Exception: ex %s
Stack trace:
#0 %stry_finally_001.php(%d): foo('finally')
#1 {main}
diff --git a/Zend/tests/try_finally_003.phpt b/Zend/tests/try_finally_003.phpt
index c1294911bd..b0fee7c6d7 100644
--- a/Zend/tests/try_finally_003.phpt
+++ b/Zend/tests/try_finally_003.phpt
@@ -20,7 +20,7 @@ foo();
?>
--EXPECTF--
1234
-Fatal error: Uncaught exception 'Exception' with message 'ex' %s
+Fatal error: Uncaught Exception: ex %s
Stack trace:
#0 %stry_finally_003.php(%d): foo()
#1 {main}
diff --git a/Zend/tests/use_const/no_global_fallback.phpt b/Zend/tests/use_const/no_global_fallback.phpt
index 40978c17fb..6db4be5d99 100644
--- a/Zend/tests/use_const/no_global_fallback.phpt
+++ b/Zend/tests/use_const/no_global_fallback.phpt
@@ -10,7 +10,7 @@ var_dump(baz);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\bar\baz'' in %s:%d
+Fatal error: Uncaught EngineException: Undefined constant 'foo\bar\baz' in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/use_function/no_global_fallback.phpt b/Zend/tests/use_function/no_global_fallback.phpt
index 45fc32c4da..2b57524a0a 100644
--- a/Zend/tests/use_function/no_global_fallback.phpt
+++ b/Zend/tests/use_function/no_global_fallback.phpt
@@ -10,7 +10,7 @@ var_dump(baz());
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function foo\bar\baz()' in %s:%d
+Fatal error: Uncaught EngineException: Call to undefined function foo\bar\baz() in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/use_function/no_global_fallback2.phpt b/Zend/tests/use_function/no_global_fallback2.phpt
index 24551e0089..294e7e8697 100644
--- a/Zend/tests/use_function/no_global_fallback2.phpt
+++ b/Zend/tests/use_function/no_global_fallback2.phpt
@@ -15,7 +15,7 @@ namespace foo {
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function bar\test()' in %s:%d
+Fatal error: Uncaught EngineException: Call to undefined function bar\test() in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/varSyntax/method_call_on_string_literal.phpt b/Zend/tests/varSyntax/method_call_on_string_literal.phpt
index 93b51a2570..34760a24be 100644
--- a/Zend/tests/varSyntax/method_call_on_string_literal.phpt
+++ b/Zend/tests/varSyntax/method_call_on_string_literal.phpt
@@ -5,7 +5,7 @@ Method call on string literal
"string"->length();
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function length() on string' in %s:%d
+Fatal error: Uncaught EngineException: Call to a member function length() on string in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/varSyntax/tempDimFetchByRefError.phpt b/Zend/tests/varSyntax/tempDimFetchByRefError.phpt
index 9421d8edc5..adf9601300 100644
--- a/Zend/tests/varSyntax/tempDimFetchByRefError.phpt
+++ b/Zend/tests/varSyntax/tempDimFetchByRefError.phpt
@@ -8,7 +8,7 @@ $fn([0, 1][0]);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use temporary expression in write context' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use temporary expression in write context in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d
diff --git a/Zend/tests/varSyntax/tempPropFetchByRefError.phpt b/Zend/tests/varSyntax/tempPropFetchByRefError.phpt
index 8bcb9198e7..eaba8ad2c6 100644
--- a/Zend/tests/varSyntax/tempPropFetchByRefError.phpt
+++ b/Zend/tests/varSyntax/tempPropFetchByRefError.phpt
@@ -8,7 +8,7 @@ $fn([0, 1]->prop);
?>
--EXPECTF--
-Fatal error: Uncaught exception 'EngineException' with message 'Cannot use temporary expression in write context' in %s:%d
+Fatal error: Uncaught EngineException: Cannot use temporary expression in write context in %s:%d
Stack trace:
#0 {main}
thrown in %s on line %d