Notice: Undefined offset: 2 in %s on line %d
-Fatal error: Function name must be a string in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
int(1)
-Fatal error: Access to undeclared static property: Closure::$x in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: Closure::$x' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to private method d::test2() from context 'a' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method d::test2() from context 'a'' in %s:%d
+Stack trace:
+#0 %s(%d): a->test()
+#1 %s(%d): c->__construct()
+#2 {main}
+ thrown in %s on line %d
Notice: Object of class stdClass could not be converted to int in %s on line %d
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Notice: Object of class stdClass could not be converted to int in %s on line %d
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
unset($array["lvl1"]["lvl2"]["b"]);
?>
--EXPECTF--
-Fatal error: Cannot use string offset as an array in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an array' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
var_dump($a);
?>
--EXPECTF--
-Fatal error: Cannot access empty property in %sbug29015.php on line 4
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %sbug29015.php:4
+Stack trace:
+#0 {main}
+ thrown in %sbug29015.php on line 4
===CHILD===
string(4) "Base"
-Fatal error: Cannot access private property ChildClass::$private_child in %sbug29674.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property ChildClass::$private_child' in %sbug29674.php:%d
+Stack trace:
+#0 %s(%d): BaseClass->printVars()
+#1 {main}
+ thrown in %sbug29674.php on line %d
Caught: __autoload
__autoload(Test3,3)
-Fatal error: Class 'Test3' not found in %sbug31102.php(%d) : eval()'d code on line 1
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'Test3' not found' in %sbug31102.php(%d) : eval()'d code:1
+Stack trace:
+#0 %s(%d): eval()
+#1 {main}
+ thrown in %sbug31102.php(%d) : eval()'d code on line 1
Notice: Indirect modification of overloaded property A::$whatever has no effect in %sbug32660.php on line 23
-Fatal error: Cannot assign by reference to overloaded object in %sbug32660.php on line 23
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot assign by reference to overloaded object' in %sbug32660.php:23
+Stack trace:
+#0 {main}
+ thrown in %sbug32660.php on line 23
throw 1;
?>
--EXPECTF--
-Fatal error: Can only throw objects in %sbug33318.php on line 2
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message '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
string(2) "ok"
}
-Fatal error: Cannot use [] for reading in %sbug34064.php on line 18
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use [] for reading' in %sbug34064.php:18
+Stack trace:
+#0 %s(%d): XmlTest->run()
+#1 {main}
+ thrown in %sbug34064.php on line 18
$a[0]->b = 0;
?>
--EXPECTF--
-Fatal error: __clone method called on non-object in %sbug36071.php on line 2
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message '__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
bar();
?>
--EXPECTF--
-Fatal error: Call to undefined function bar() in %sbug36268.php on line 8
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function bar()' in %sbug36268.php:8
+Stack trace:
+#0 {main}
+ thrown in %sbug36268.php on line 8
C2::test
B4::doTest
-Fatal error: Call to protected C4::__construct() from context 'B4' in %sbug37632.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected C4::__construct() from context 'B4'' in %sbug37632.php:%d
+Stack trace:
+#0 %s(%d): B4::doTest()
+#1 {main}
+ thrown in %sbug37632.php on line %d
--EXPECTF--
Deprecated: Non-static method Foo::get() should not be called statically in %s on line %d
-Fatal error: Non-static method Foo::__construct() cannot 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
+Stack trace:
+#0 %s(%d): Foo::get()
+#1 {main}
+ thrown in %s on line %d
echo Foo::A."\n";
?>
--EXPECTF--
-Fatal error: Undefined class constant 'self::B' in %sbug41633_2.php on line 5
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined class constant 'self::B'' in %sbug41633_2.php:5
+Stack trace:
+#0 {main}
+ thrown in %sbug41633_2.php on line 5
echo Foo::A;
?>
--EXPECTF--
-Fatal error: Cannot declare self-referencing constant 'Foo::B' in %sbug41633_3.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot declare self-referencing constant 'Foo::B'' in %sbug41633_3.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug41633_3.php on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Cannot use string offset as an array in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an array' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
echo "ok\n";
?>
--EXPECTF--
-Fatal error: Cannot use string offset as an object in %sbug41919.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an object' in %sbug41919.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug41919.php on line %d
array_push($a->b, $c);
?>
--EXPECTF--
-Fatal error: __clone method called on non-object in %sbug42817.php on line 2
+Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %sbug42817.php:2
+Stack trace:
+#0 {main}
+ thrown in %sbug42817.php on line 2
$foo = clone(array());
?>
--EXPECTF--
-Fatal error: __clone method called on non-object in %sbug42818.php on line 2
+Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %sbug42818.php:2
+Stack trace:
+#0 {main}
+ thrown in %sbug42818.php on line 2
[1] => 1
)
-Fatal error: Undefined constant 'foo\foo\unknown' in %sbug42819.php on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\foo\unknown'' in %sbug42819.php:%d
+Stack trace:
+#0 %s(%d): foo\oops()
+#1 {main}
+ thrown in %sbug42819.php on line %d
\ No newline at end of file
test4
test5
-Fatal error: Call to undefined method C::test6() in %sbug42937.php on line 21
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method C::test6()' in %sbug42937.php:21
+Stack trace:
+#0 %s(%d): B->test()
+#1 {main}
+ thrown in %sbug42937.php on line 21
echo namespace\bar."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'bar' in %sbug43344_10.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_10.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug43344_10.php on line %d
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'bar' in %sbug43344_11.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_11.php:%d
+Stack trace:
+#0 %s(%d): f()
+#1 {main}
+ thrown in %sbug43344_11.php on line %d
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'bar' in %sbug43344_12.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_12.php:%d
+Stack trace:
+#0 %s(%d): f()
+#1 {main}
+ thrown in %sbug43344_12.php on line %d
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'bar' in %sbug43344_13.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'bar'' in %sbug43344_13.php:%d
+Stack trace:
+#0 %s(%d): f()
+#1 {main}
+ thrown in %sbug43344_13.php on line %d
echo Foo::bar."\n";
?>
--EXPECTF--
-Fatal error: Class 'Foo\Foo' not found in %sbug43344_2.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'Foo\Foo' not found' in %sbug43344_2.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug43344_2.php on line %d
echo namespace\bar."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'Foo\bar' in %sbug43344_6.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_6.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug43344_6.php on line %d
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'Foo\bar' in %sbug43344_7.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_7.php:%d
+Stack trace:
+#0 %s(%d): Foo\f()
+#1 {main}
+ thrown in %sbug43344_7.php on line %d
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'Foo\bar' in %sbug43344_8.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_8.php:%d
+Stack trace:
+#0 %s(%d): Foo\f()
+#1 {main}
+ thrown in %sbug43344_8.php on line %d
echo f()."\n";
?>
--EXPECTF--
-Fatal error: Undefined constant 'Foo\bar' in %sbug43344_9.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'Foo\bar'' in %sbug43344_9.php:%d
+Stack trace:
+#0 %s(%d): Foo\f()
+#1 {main}
+ thrown in %sbug43344_9.php on line %d
$y = Y::cheat(5);
echo $y->x, PHP_EOL;
--EXPECTF--
-Fatal error: Call to private X::__construct() from context 'Y' in %sbug44141.php on line 15
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private X::__construct() from context 'Y'' in %sbug44141.php:15
+Stack trace:
+#0 %s(%d): Y::cheat(5)
+#1 {main}
+ thrown in %sbug44141.php on line 15
value6
value6
-Fatal error: Undefined constant 'NS1\ns2\coNSt1' in %sbug46304.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'NS1\ns2\coNSt1'' in %sbug46304.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug46304.php on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Non-static method ArrayIterator::current() cannot be called statically in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method ArrayIterator::current() cannot be called statically' in %s:%d
+Stack trace:
+#0 %s(%d): test->method()
+#1 {main}
+ thrown in %s on line %d
Deprecated: Non-static method D::m() should not be called statically in %s on line %d
-Fatal error: Using $this when not in object context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %s:%d
+Stack trace:
+#0 %s(%d): D::m()
+#1 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
BB
-Fatal error: Class 'X' not found in %sbug47699.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'X' not found' in %sbug47699.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug47699.php on line %d
$s[0]->a += 1;
?>
--EXPECTF--
-Fatal error: Cannot use string offset as an object in %sbug47704.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use string offset as an object' in %sbug47704.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug47704.php on line %d
?>
===DONE===
--EXPECTF--
-Fatal error: Call to undefined method b::b() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method b::b()' in %s:%d
+Stack trace:
+#0 %s(%d): c->__construct()
+#1 {main}
+ thrown in %s on line %d
$b = "f";
echo $a;
--EXPECTF--
-Fatal error: Cannot create references to/from string offsets nor overloaded objects in %sbug49866.php on line 3
+Fatal error: Uncaught exception 'EngineException' with message '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
bool(false)
bool(false)
-Fatal error: Closure object cannot have properties in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Closure object cannot have properties' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot access empty property in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %s:%d
+Stack trace:
+#0 %s(%d): A->__unset('')
+#1 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot access empty property in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %s:%d
+Stack trace:
+#0 %s(%d): A->__set('', 2)
+#1 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot access empty property in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access empty property' in %s:%d
+Stack trace:
+#0 %s(%d): A->__get('')
+#1 {main}
+ thrown in %s on line %d
Warning: The magic method __invoke() must have public visibility and cannot be static in %sbug61025.php on line %d
Bar
-Fatal error: Call to private method Bar::__invoke() from context '' in %sbug61025.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method Bar::__invoke() from context ''' in %sbug61025.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug61025.php on line %d
bool(true)
ok
-Fatal error: Cannot call abstract method Foo::bar() in %sbug63111.php on line 20
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot call abstract method Foo::bar()' in %sbug63111.php:20
+Stack trace:
+#0 {main}
+ thrown in %sbug63111.php on line 20
?>
--EXPECTF--
-Fatal error: Array callback has to contain indices 0 and 1 in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Array callback has to contain indices 0 and 1' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
$bar->test();
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: Stat::$requests in %sbug64720.php on line 12
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: Stat::$requests' in %sbug64720.php:12
+Stack trace:
+#0 [internal function]: Stat->__destruct()
+#1 {main}
+ thrown in %sbug64720.php on line 12
string(9) "not catch"
NULL
-Fatal error: Class 'NotExists' not found in %sbug65784.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'NotExists' not found' in %sbug65784.php:%d
+Stack trace:
+#0 %s(%d): foo3()
+#1 {main}
+ thrown in %sbug65784.php on line %d
$obj->go();
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: A::$this in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: A::$this' in %s:%d
+Stack trace:
+#0 %s(%d): B->go()
+#1 {main}
+ thrown in %s on line %d
$foo = new Foo();
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: Bar::$instance in %sbug68652.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: Bar::$instance' in %sbug68652.php:%d
+Stack trace:
+#0 %s(%d): Bar::getInstance()
+#1 [internal function]: Foo->__destruct()
+#2 {main}
+ thrown in %sbug68652.php on line %d
--EXPECTF--
string(3) "AaA"
-Fatal error: Function name must be a string in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Deprecated: Non-static method foo::aa() should not be called statically in %s on line %d
ok
-Fatal error: Cannot call constructor in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot call constructor' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Deprecated: %son-static method foo::teste() should not be called statically in %s on line %d
-Fatal error: Using $this when not in object context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %s:%d
+Stack trace:
+#0 %s(%d): foo::teste()
+#1 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot instantiate abstract class foo in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate abstract class foo' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
object(foo\bar)#%d (0) {
}
-Fatal error: Class 'foo\foo' not found in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'foo\foo' not found' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
object(foo\bar\foo)#2 (0) {
}
-Fatal error: Class 'foo\bar' not found in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'foo\bar' not found' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
string(6) "string"
int(1)
-Fatal error: Undefined class constant 'val3' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined class constant 'val3'' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot use "static" when no class scope is active in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "static" when no class scope is active' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3
?>
--EXPECTF--
-Fatal error: Cannot use "parent" when no class scope is active in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "parent" when no class scope is active' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3
?>
--EXPECTF--
-Fatal error: Cannot use "self" when no class scope is active in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "self" when no class scope is active' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3
?>
--EXPECTF--
-Fatal error: __clone method called on non-object in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Notice: Undefined variable: b in %s on line %d
-Fatal error: __clone method called on non-object in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '__clone method called on non-object' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot use object of type foo as array in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type foo as array' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
7
Destroyed
-Fatal error: Using $this when not in object context in %sclosure_005.php on line 28
+Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %sclosure_005.php:28
+Stack trace:
+#0 %s(%d): A::{closure}()
+#1 {main}
+ thrown in %sclosure_005.php on line 28
Notice: Only variable references should be returned by reference in %sclosure_019.php on line 4
int(81)
-Fatal error: Cannot pass parameter 1 by reference in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot pass parameter 1 by reference' in %s:%d
+Stack trace:
+#0 %s(%d): test()
+#1 {main}
+ thrown in %s on line %d
bool(true)
bool(true)
-Fatal error: Cannot access private property foo::$test in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property foo::$test' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
$foo->a = 1;
?>
--EXPECTF--
-Fatal error: Closure object cannot have properties in %sclosure_022.php on line 5
+Fatal error: Uncaught exception 'EngineException' with message 'Closure object cannot have properties' in %sclosure_022.php:5
+Stack trace:
+#0 {main}
+ thrown in %sclosure_022.php on line 5
--EXPECTF--
Test::{closure}()
-Fatal error: Call to private method Test::func() from context '' in %sclosure_033.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message '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
int(23)
int(24)
-Fatal error: Cannot access private property B::$x in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '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
+Stack trace:
+#0 %s(%d): Closure->{closure}()
+#1 {main}
+
+Next exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Stack trace:
+#0 %s(%d): Closure->{closure}()
+#1 {main}
+ thrown in %s on line %d
int(23)
int(24)
-Fatal error: Cannot access private property B::$x in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '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
+Stack trace:
+#0 %s(%d): Closure->{closure}()
+#1 {main}
+
+Next exception 'EngineException' with message 'Cannot access private property B::$x' in %s:%d
+Stack trace:
+#0 %s(%d): Closure->{closure}()
+#1 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Illegal offset type in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Illegal offset type' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
var_dump(A::FOO);
?>
--EXPECTF--
-Fatal error: Cannot declare self-referencing constant 'self::FOO' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot declare self-referencing constant 'self::FOO'' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Notice: Undefined offset: 3 in %s on line %d
-Fatal error: Call to a member function bar() on null in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function bar() on null' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
NULL
NULL
-Fatal error: Cannot use object of type stdClass as array in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--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: Non-static method foo::foo() cannot be called statically in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method foo::foo() cannot be called statically' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Function name must be a string in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Function name must be a string in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Function name must be a string' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Notice: Undefined variable: a in %s on line %d
-Fatal error: Class name must be a valid object or a string 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
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot use object of type stdClass as array in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Exceptions must be valid objects derived from the Exception base class in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Exceptions must be valid objects derived from the Exception base class' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot instantiate interface a in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate interface a' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Can only throw objects in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Can only throw objects' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Exception: Attempt to unset static property C::$a in %sexception_013.php on line 19
-Fatal error: Access to undeclared static property: C::$a in %sexception_013.php on line 24
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$a' in %sexception_013.php:24
+Stack trace:
+#0 {main}
+ thrown in %sexception_013.php on line 24
--EXPECTF--
Exception: Cannot access private property C::$p in %sexception_014.php on line %d
-Fatal error: 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
+Stack trace:
+#0 {main}
+ thrown in %sexception_014.php on line %d
--EXPECTF--
Exception: [] operator not supported for strings in %sexception_015.php on line %d
-Fatal error: [] 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
+Stack trace:
+#0 {main}
+ thrown in %sexception_015.php on line %d
--EXPECTF--
Exception: Using $this when not in object context in %sexception_016.php on line %d
-Fatal error: 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
+Stack trace:
+#0 {main}
+ thrown in %sexception_016.php on line %d
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: Cannot call abstract method C::foo() in %sexception_017.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot call abstract method C::foo()' in %sexception_017.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sexception_017.php on line %d
--EXPECTF--
foo
-Fatal error: Call to undefined method stdClass::fatalError() in %sbug63066.php on line 5
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method stdClass::fatalError()' in %sbug63066.php:5
+Stack trace:
+#0 %s(%d): gen(Object(stdClass))
+#1 {main}
+ thrown in %sbug63066.php on line 5
?>
--EXPECTF--
-Fatal error: Call to undefined function foo() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function foo()' in %s:%d
+Stack trace:
+#0 [internal function]: autoload('SyntaxError')
+#1 %s(%d): spl_autoload_call('SyntaxError')
+#2 %s(%d): testGenerator()
+#3 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Trying to clone an uncloneable object of class Generator in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class Generator' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: The "Generator" class is reserved for internal use and cannot be manually instantiated in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '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
--EXPECTF--
Exception: Cannot resume an already running generator
-Fatal error: Cannot resume an already running generator in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot resume an already running generator' in %s:%d
+Stack trace:
+#0 %s(%d): Generator->next()
+#1 [internal function]: gen()
+#2 %s(%d): Generator->send(Object(Generator))
+#3 {main}
+ thrown in %s on line %d
before yield
before yield in finally
-Fatal error: Cannot yield from finally in a force-closed generator in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot yield from finally in a force-closed generator' in %s:%d
+Stack trace:
+#0 %s(%d): gen()
+#1 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Exceptions must be valid objects derived from the Exception base class in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '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))
+#2 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Impossible to yield from the Generator being currently run in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message '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))
+#2 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Class 'a' not found in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'a' not found' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to undefined method stdClass::b() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method stdClass::b()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
string(3) "foo"
NULL
-Fatal error: Call to undefined method foo::www() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method foo::www()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
NULL
----
-Fatal error: Cannot use object of type stdClass as array in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot use object of type Closure as array in %slist_007.php on line 3
+Fatal error: Uncaught exception 'EngineException' with message '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
?>
--EXPECTF--
-Fatal error: Call to a member function method() on null in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function method() on null' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
echo get_class(new Exception()),"\n";
--EXPECTF--
-Fatal error: Class 'test\ns1\Exception' not found in %sns_004.php on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message '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
Method - Foo\Foo::Bar
Func - Foo\Bar
-Fatal error: Call to undefined function Foo\Foo\Bar() in %sns_026.php on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message '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
--EXPECTF--
ok
-Fatal error: Call to undefined method Exception::bar() in %sns_038.php on line 7
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method Exception::bar()' in %sns_038.php:7
+Stack trace:
+#0 {main}
+ thrown in %sns_038.php on line 7
class ok
ok
-Fatal error: Undefined constant 'Test\ns1\unknown' in %sns_057.php on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message '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
class ok
ok
-Fatal error: Undefined constant 'unknown' in %sns_058.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_058.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sns_058.php on line %d
%s(7) "unknown"
}
-Fatal error: Undefined constant 'unknown' in %sns_076.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_076.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sns_076.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo\foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo\foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'foo\unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo\foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'foo\unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo\foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
foo();
--EXPECTF--
-Fatal error: Undefined constant 'unknown' in %sns_077_%d.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'unknown'' in %sns_077_%d.php:%d
+Stack trace:
+#0 %s(%d): foo()
+#1 {main}
+ thrown in %sns_077_%d.php on line %d
Foo\Bar\biz
Foo\Bar\buz
-Fatal error: Call to undefined function Foo\Bar\A() in %sns_092.php on line 45
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function Foo\Bar\A()' in %sns_092.php:45
+Stack trace:
+#0 {main}
+ thrown in %sns_092.php on line 45
?>
--EXPECTF--
-Fatal error: Cannot access private property foo::$test in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property foo::$test' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
non-static - ok
static - ok
-Fatal error: Method name must be a string in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Method name must be a string' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Using $this when not in object context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Using $this when not in object context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: foo::$f in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: foo::$f' in %s:%d
+Stack trace:
+#0 %s(%d): foo->__construct()
+#1 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: bar::$f in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: bar::$f' in %s:%d
+Stack trace:
+#0 %s(%d): foo->__construct()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Warning: Illegal string offset 'x' in %soffset_assign.php on line %d
-Fatal error: Cannot use string offset as an array 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
+Stack trace:
+#0 {main}
+ thrown in %soffset_assign.php on line %d
?>
--EXPECTF--
-Fatal error: Cannot use object of type stdClass as array in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use object of type stdClass as array' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot use "parent" when current class scope has no parent in %s on line 5
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use "parent" when current class scope has no parent' in %s:5
+Stack trace:
+#0 %s(%d): C->f()
+#1 {main}
+ thrown in %s on line 5
$x = array(&$a[1]);\r
?>\r
--EXPECTF--\r
-Fatal error: Cannot create references to/from string offsets in %sstr_offset_002.php on line 3\r
+Fatal error: Uncaught exception 'EngineException' with message '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\r
--EXPECTF--
Exception: Unsupported operand types
-Fatal error: Unsupported operand types in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Unsupported operand types' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
$rc->newInstance();
--EXPECTF--
-Fatal error: Cannot instantiate trait foo in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate trait foo' in %s:%d
+Stack trace:
+#0 %s(%d): ReflectionClass->newInstance()
+#1 {main}
+ thrown in %s on line %d
T:m1
T:m2
-Fatal error: Call to undefined method C1::a2() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method C1::a2()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot instantiate trait abc in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate trait abc' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to protected method bar::test() from context '' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected method bar::test() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to protected method MyClass::sayHello() from context '' in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message '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
?>
--EXPECTF--
Hello World!Hello World!
-Fatal error: Call to private method MyClass::sayHelloWorld() from context '' in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message '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
?>
--EXPECTF--
-Fatal error: Undefined constant 'foo\bar\baz' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined constant 'foo\bar\baz'' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to undefined function foo\bar\baz() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function foo\bar\baz()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to undefined function bar\test() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function bar\test()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
"string"->length();
?>
--EXPECTF--
-Fatal error: Call to a member function length() on string in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function length() on string' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot use temporary expression in write context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use temporary expression in write context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot use temporary expression in write context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot use temporary expression in write context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
ZVAL_OBJ(&exception, ex);
ce_exception = Z_OBJCE(exception);
EG(exception) = NULL;
- if (ce_exception == parse_exception_ce || ce_exception == engine_exception_ce || ce_exception == type_exception_ce) {
+ if (ce_exception == parse_exception_ce || ce_exception == type_exception_ce) {
zend_string *message = zval_get_string(GET_PROPERTY(&exception, "message"));
zend_string *file = zval_get_string(GET_PROPERTY_SILENT(&exception, "file"));
zend_long line = zval_get_long(GET_PROPERTY_SILENT(&exception, "line"));
DOMDocument::saveHTMLFile();
?>
--EXPECTF--
-Fatal error: Non-static method DOMDocument::saveHTMLFile() cannot be called statically in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method DOMDocument::saveHTMLFile() cannot be called statically' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
DOMDocument::saveHTML(true);
?>
--EXPECTF--
-Fatal error: Non-static method DOMDocument::saveHTML() cannot be called statically in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method DOMDocument::saveHTML() cannot be called statically' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
DOMDocument::validate();
?>
--EXPECTF--
-Fatal error: Non-static method DOMDocument::validate() cannot be called statically in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method DOMDocument::validate() cannot be called statically' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
HELLO Attribute
DOMAttr
-Fatal error: Call to undefined method DOMAttr::testit() in %s on line 25
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method DOMAttr::testit()' in %s:25
+Stack trace:
+#0 {main}
+ thrown in %s on line 25
new IntlBreakIterator();
--EXPECTF--
-Fatal error: Call to private IntlBreakIterator::__construct() from invalid context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private IntlBreakIterator::__construct() from invalid context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Warning: IntlTimeZone::getCanonicalID(): intltz_get_canonical_id: could not convert time zone id to UTF-16 in %s on line %d
bool(false)
-Fatal error: Cannot pass parameter 2 by reference in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot pass parameter 2 by reference' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to a member function fetch_row() on boolean in %sbug33491.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function fetch_row() on boolean' in %sbug33491.php:%d
+Stack trace:
+#0 %s(%d): DB->query_single('SELECT DATE()')
+#1 {main}
+ thrown in %sbug33491.php on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to private DB::__construct() from invalid context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private DB::__construct() from invalid context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
print "done!";
?>
--EXPECTF--
-Fatal error: Trying to clone an uncloneable object of class mysqli_driver in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class mysqli_driver' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
\ No newline at end of file
Fatal error with PHP (but no exception!):
-Fatal error: Call to undefined method mysqli_fetch_object_test::mysqli_fetch_object_test() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method mysqli_fetch_object_test::mysqli_fetch_object_test()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
print "done!";
?>
--EXPECTF--
-Fatal error: Trying to clone an uncloneable object of class mysqli_result in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class mysqli_result' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
\ No newline at end of file
print "done!";
?>
--EXPECTF--
-Fatal error: Trying to clone an uncloneable object of class mysqli_stmt in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class mysqli_stmt' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
\ No newline at end of file
print "done!";
?>
--EXPECTF--
-Fatal error: Trying to clone an uncloneable object of class mysqli in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class mysqli' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
\ No newline at end of file
this is a private method.
foo
-Fatal error: Call to protected method test::isProtected() from context '' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected method test::isProtected() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
}
===FAIL===
-Fatal error: Cannot access protected property Fail::$id in %spdo_025.php on line %d%A
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access protected property Fail::$id' in %spdo_025.php:%d
+Stack trace:
+#0 {main}
+ thrown in %spdo_025.php on line %d
?>
--EXPECTF--
-Fatal error: Call to undefined method MyStatement::foo() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method MyStatement::foo()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
$stmt->bindParam(':a', 'b');
?>
--EXPECTF--
-Fatal error: Cannot pass parameter 2 by reference in %sbug_37445.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot pass parameter 2 by reference' in %sbug_37445.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug_37445.php on line %d
}
}
-Fatal error: Cannot instantiate abstract class mystatement6 in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate abstract class mystatement6' in %s:%d
+Stack trace:
+#0 %s(%d): PDO->query('SELECT id, labe...')
+#1 {main}
+ thrown in %s on line %d
\ No newline at end of file
Warning: PDO::prepare(): SQLSTATE[42S22]: Column not found: 1054 Unknown column 'unknown_column' in 'field list' in %s on line %d
-Fatal error: Call to a member function execute() on boolean in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function execute() on boolean' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Warning: PDO::prepare(): SQLSTATE[HY093]: Invalid parameter number in %s on line %d
-Fatal error: Call to a member function execute() on boolean in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function execute() on boolean' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Warning: PDO::prepare(): SQLSTATE[42S02]: Base table or view not found: 1146 Table '%s.ihopeitdoesnotexist' doesn't exist in %s on line %d
-Fatal error: Call to a member function execute() on boolean in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function execute() on boolean' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your %s server version for the right syntax to use near '%SSELECT label FROM test ORDER BY id ASC LIMIT 1' at line %d in %s on line %d
-Fatal error: Call to a member function errorInfo() on boolean in %s on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function errorInfo() on boolean' in %s:%d
+Stack trace:
+#0 %s(%d): mysql_stmt_multiquery_wrong_usage(Object(PDO))
+#1 {main}
+ thrown in %s on line %d
\ No newline at end of file
--EXPECTHEADERS--
Content-type: text/html; charset=UTF-8
--EXPECTF--
-Fatal error: Call to undefined function oopsie_daisy() in phar://%sfatalerror.phps on line 1
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function oopsie_daisy()' in phar://%sfatalerror.phps:1
+Stack trace:
+#0 [internal function]: unknown()
+#1 %s(%d): Phar::webPhar('whatever', 'index.php', '404.php', Array)
+#2 {main}
+ thrown in phar://%sfatalerror.phps on line 1
\ No newline at end of file
--EXPECTHEADERS--
Content-type: text/html; charset=UTF-8
--EXPECTF--
-Fatal error: Call to undefined function oopsie_daisy() in phar://%sfatalerror.phps on line 1
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function oopsie_daisy()' in phar://%sfatalerror.phps:1
+Stack trace:
+#0 [internal function]: unknown()
+#1 %s(%d): Phar::webPhar('whatever', 'index.php', '404.php', Array)
+#2 {main}
+ thrown in phar://%sfatalerror.phps on line 1
\ No newline at end of file
$rc = new ReflectionClass("stdClass");
$rc2 = clone($rc);
--EXPECTF--
-Fatal error: Trying to clone an uncloneable object of class ReflectionClass in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class ReflectionClass' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
ReflectionClass::getName();
?>
--EXPECTF--
-Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method ReflectionClass::getName() cannot be called statically' in %s:2
+Stack trace:
+#0 {main}
+ thrown in %s on line 2
bool(false)
bool(false)
-Fatal error: Trying to clone an uncloneable object of class XMLWriter in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class XMLWriter' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Test static invocation:
-Fatal error: Non-static method ReflectionClass::isIterateable() cannot be called statically in %s on line 43
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method ReflectionClass::isIterateable() cannot be called statically' in %s:43
+Stack trace:
+#0 {main}
+ thrown in %s on line 43
\ No newline at end of file
ReflectionObject::getName();
?>
--EXPECTF--
-Fatal error: Non-static method ReflectionClass::getName() cannot be called statically in %s on line 2
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method ReflectionClass::getName() cannot be called statically' in %s:2
+Stack trace:
+#0 {main}
+ thrown in %s on line 2
--EXPECTF--
string(%d) "Class Generator is an internal class marked as final that cannot be instantiated without invoking its constructor"
-Fatal error: The "Generator" class is reserved for internal use and cannot be manually instantiated in %sbug64007.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'The "Generator" class is reserved for internal use and cannot be manually instantiated' in %sbug64007.php:%d
+Stack trace:
+#0 %s(%d): ReflectionClass->newInstance()
+#1 {main}
+ thrown in %sbug64007.php on line %d
--EXPECTF--
write: goodbye cruel world
-Fatal error: Call to undefined function undefined_function() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function undefined_function()' in %s:%d
+Stack trace:
+#0 [internal function]: write(%s, '')
+#1 %s(%d): session_write_close()
+#2 {main}
+ thrown in %s on line %d
--EXPECTF--
write: goodbye cruel world
-Fatal error: Call to undefined function undefined_function() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function undefined_function()' in %s:%d
+Stack trace:
+#0 [internal function]: write(%s, '')
+#1 {main}
+ thrown in %s on line %d
close: goodbye cruel world
--EXPECTF--
close: goodbye cruel world
-Fatal error: Call to undefined function undefined_function() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined function undefined_function()' in %s:%d
+Stack trace:
+#0 [internal function]: close()
+#1 %s(%d): session_write_close()
+#2 {main}
+ thrown in %s on line %d
Warning: simplexml_load_string() expects parameter 3 to be integer, float given in %s on line %d
-Fatal error: Call to a member function xpath() on null in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to a member function xpath() on null' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
string(6) "public"
string(6) "secret"
-Fatal error: Cannot access private property C::$x in %s on line 19
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property C::$x' in %s:19
+Stack trace:
+#0 {main}
+ thrown in %s on line 19
?>
===DONE===
--EXPECTF--
-Fatal error: Class 'Foo' not found in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'Foo' not found' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Call to undefined method AppendIterator::undefined() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to undefined method AppendIterator::undefined()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Notice: Indirect modification of overloaded element of ArrayIterator has no effect in %s on line %d
-Fatal error: Cannot assign by reference to overloaded object in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot assign by reference to overloaded object' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
}
?>
--EXPECTF--
-Fatal error: An iterator cannot be used with foreach by reference in %s
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'An iterator cannot be used with foreach by reference' in %s:%d
+Stack trace:
+#0 %s(%d): p(Object(IteratorIterator))
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
*** Testing arsort() : object functionality ***
-Fatal error: Class 'for_integer_asort' not found in %sarsort_object1.php on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'for_integer_asort' not found' in %sarsort_object1.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sarsort_object1.php on line %d
\ No newline at end of file
--EXPECTF--
*** Testing arsort() : object functionality ***
-Fatal error: Class 'for_integer_asort' not found in %sarsort_object2.php on line %d
\ No newline at end of file
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'for_integer_asort' not found' in %sarsort_object2.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sarsort_object2.php on line %d
\ No newline at end of file
ok
bool(false)
-Fatal error: Non-static method BaseException::getMessage() cannot be called statically in %sbug47857.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Non-static method BaseException::getMessage() cannot be called statically' in %sbug47857.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sbug47857.php on line %d
new tidyNode;
?>
--EXPECTF--
-Fatal error: Call to private tidyNode::__construct() from invalid context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private tidyNode::__construct() from invalid context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Test
-Fatal error: Trying to clone an uncloneable object of class XMLReader in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Trying to clone an uncloneable object of class XMLReader' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
string(%d) "
<br />
-<b>Fatal error</b>: Cannot access private property test::$pri in <b>%s004.test.php</b> on line <b>8</b><br />
+<b>Fatal error</b>: Uncaught exception 'EngineException' with message 'Cannot access private property test::$pri' in %s004.test.php:8
+Stack trace:
+#0 {main}
+ thrown in <b>%s004.test.php</b> on line <b>8</b><br />
"
string(25) "No input file specified.
"
--EXPECTF--
string(%d) "
-Fatal error: Cannot access private property test::$pri in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property test::$pri' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
"
string(33) "Could not open input file: wrong
"
Content-type: text/html; charset=UTF-8
<br />
-<b>Fatal error</b>: Call to undefined function non_exists_function() in <b>%ssyntax_error.php</b> on line <b>%s</b><br />
+<b>Fatal error</b>: Uncaught exception 'EngineException' with message 'Call to undefined function non_exists_function()' in %ssyntax_error.php:%d
+Stack trace:
+#0 %sindex.php(%d): require()
+#1 {main}
+ thrown in <b>%ssyntax_error.php</b> on line <b>%d</b><br />
--EXPECTF--
Call to function show()
-Fatal error: Cannot call abstract method fail::show() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot call abstract method fail::show()' in %s:%d
+Stack trace:
+#0 %s(%d): pass->error()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Call to function show()
-Fatal error: Cannot instantiate abstract class fail in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate abstract class fail' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot instantiate abstract class fail in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate abstract class fail' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
test::func()
-Fatal error: Cannot call abstract method test_base::func() in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot call abstract method test_base::func()' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Notice: Indirect modification of overloaded element of ArrayAccessImpl has no effect in %sarray_access_012.php on line 24
-Fatal error: Cannot assign by reference to overloaded object in %sarray_access_012.php on line 24
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot assign by reference to overloaded object' in %sarray_access_012.php:24
+Stack trace:
+#0 {main}
+ thrown in %sarray_access_012.php on line 24
echo "BUG\n";
?>
--EXPECTF--
-Fatal error: Class '../BUG' not found in %sautoload_021.php on line 6
+Fatal error: Uncaught exception 'EngineException' with message 'Class '../BUG' not found' in %sautoload_021.php:6
+Stack trace:
+#0 {main}
+ thrown in %sautoload_021.php on line 6
Warning: call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method foo::bar() in %s on line %d
-Fatal error: Call to private method foo::bar() from context '' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
base
-Fatal error: Cannot instantiate abstract class base in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate abstract class base' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Expecting fatal error:
-Fatal error: Undefined class constant 'c19' in %s on line 53
+Fatal error: Uncaught exception 'EngineException' with message 'Undefined class constant 'c19'' in %s:53
+Stack trace:
+#0 {main}
+ thrown in %s on line 53
TestPriv::__construct()
DerivedPriv::__construct()
-Fatal error: Cannot call private TestPriv::__construct() in %sctor_visibility.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot call private TestPriv::__construct()' in %sctor_visibility.php:%d
+Stack trace:
+#0 %s(%d): DerivedPriv->__construct()
+#1 %s(%d): DerivedPriv::f()
+#2 {main}
+ thrown in %sctor_visibility.php on line %d
?>
===DONE===
--EXPECTF--
-Fatal error: Call to private Derived::__destruct() from context '' in %sdestructor_visibility_001.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private Derived::__destruct() from context ''' in %sdestructor_visibility_001.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sdestructor_visibility_001.php on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to protected test::__construct() from invalid context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected test::__construct() from invalid context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to private test::__construct() from invalid context in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private test::__construct() from invalid context' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to protected test::__destruct() from context '' in %sfactory_and_singleton_005.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected test::__destruct() from context ''' in %sfactory_and_singleton_005.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sfactory_and_singleton_005.php on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to private test::__destruct() from context '' in %sfactory_and_singleton_006.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private test::__destruct() from context ''' in %sfactory_and_singleton_006.php:%d
+Stack trace:
+#0 {main}
+ thrown in %sfactory_and_singleton_006.php on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to protected test::__clone() from context '' %sfactory_and_singleton_007.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected test::__clone() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
echo "Done\n";
?>
--EXPECTF--
-Fatal error: Call to private test::__clone() from context '' %sfactory_and_singleton_008.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private test::__clone() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
?>
--EXPECTF--
-Fatal error: Cannot instantiate interface if_a in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot instantiate interface if_a' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Call show()
-Fatal error: Call to private method pass::show() from context '' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Call pass::show()
Call fail::show()
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail::show()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Call show()
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail::not_ok()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Call show()
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail->not_ok()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Call show()
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail::do_show()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Call show()
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail->do_show()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Call show()
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail::do_show()
+#1 {main}
+ thrown in %s on line %d
--EXPECTF--
Call show()
-Fatal error: Call to private method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail->do_show()
+#1 {main}
+ thrown in %s on line %d
derived
base
-Fatal error: Call to private method base::show() from context 'derived' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to private method base::show() from context 'derived'' in %s:%d
+Stack trace:
+#0 %s(%d): derived->test()
+#1 {main}
+ thrown in %s on line %d
Unset a private property, and attempt to recreate at global scope (expecting failure):
-Fatal error: Cannot access private property C::$p in %s on line 46
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access private property C::$p' in %s:46
+Stack trace:
+#0 {main}
+ thrown in %s on line 46
Unset a protected property, and attempt to recreate it outside of scope (expected failure):
-Fatal error: Cannot access protected property %s::$p in %s on line 32
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access protected property %s::$p' in %s:32
+Stack trace:
+#0 {main}
+ thrown in %s on line 32
--EXPECTF--
Call fail()
-Fatal error: Call to protected method pass::fail() from context '' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected method pass::fail() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
--EXPECTF--
Call fail()
-Fatal error: Call to protected method pass::fail() from context '' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected method pass::fail() from context ''' in %s:%d
+Stack trace:
+#0 {main}
+ thrown in %s on line %d
Call pass::show()
Call fail::show()
-Fatal error: Call to protected method pass::show() from context 'fail' in %s on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Call to protected method pass::show() from context 'fail'' in %s:%d
+Stack trace:
+#0 %s(%d): fail::show()
+#1 {main}
+ thrown in %s on line %d
--> Access non-visible static prop like instance prop:
-Fatal error: Cannot access protected property C::$y in %s on line 8
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access protected property C::$y' in %s:8
+Stack trace:
+#0 {main}
+ thrown in %s on line 8
--> Access non-visible static prop like instance prop:
-Fatal error: Cannot access protected property C::$y in %s on line 8
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access protected property C::$y' in %s:8
+Stack trace:
+#0 {main}
+ thrown in %s on line 8
--> Access non-visible static prop like instance prop:
-Fatal error: Cannot access protected property C::$y in %s on line 8
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access protected property C::$y' in %s:8
+Stack trace:
+#0 {main}
+ thrown in %s on line 8
--> Access non-visible static prop like instance prop:
-Fatal error: Cannot access protected property C::$y in %s on line 8
+Fatal error: Uncaught exception 'EngineException' with message 'Cannot access protected property C::$y' in %s:8
+Stack trace:
+#0 {main}
+
+Next exception 'EngineException' with message 'Cannot access protected property C::$y' in %s:8
+Stack trace:
+#0 {main}
+ thrown in %s on line 8
C::$p = 1;
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: C::$p in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$p' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3
C::$p += 1;
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: C::$p in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$p' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3
C::$p =& $a;
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: C::$p in %s on line 4
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$p' in %s:4
+Stack trace:
+#0 {main}
+ thrown in %s on line 4
C::$p++;
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: C::$p in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$p' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3
echo C::$p;
?>
--EXPECTF--
-Fatal error: Access to undeclared static property: C::$p in %s on line 3
+Fatal error: Uncaught exception 'EngineException' with message 'Access to undeclared static property: C::$p' in %s:3
+Stack trace:
+#0 {main}
+ thrown in %s on line 3
--EXPECTF--
foo
-Fatal error: Class 'B' not found in %s041.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'B' not found' in %s041.php:%d
+Stack trace:
+#0 {main}
+ thrown in %s041.php on line %d
--EXPECTF--
foo
-Fatal error: Class 'B' not found in %s042.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'B' not found' in %s042.php:%d
+Stack trace:
+#0 {main}
+ thrown in %s042.php on line %d
--EXPECTF--
foo
-Fatal error: Class 'B' not found in %s043.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'B' not found' in %s043.php:%d
+Stack trace:
+#0 {main}
+ thrown in %s043.php on line %d
--EXPECTF--
foo
-Fatal error: Class 'B' not found in %s044.php on line %d
+Fatal error: Uncaught exception 'EngineException' with message 'Class 'B' not found' in %s044.php:%d
+Stack trace:
+#0 {main}
+ thrown in %s044.php on line %d
--EXPECTF--
-----( Try to iterate with &$value: )-----
-Fatal error: An iterator cannot be used with foreach by reference in %s on line 13
+Fatal error: Uncaught exception 'EngineException' with message 'An iterator cannot be used with foreach by reference' in %s:13
+Stack trace:
+#0 {main}
+ thrown in %s on line 13