diff options
Diffstat (limited to 'Zend/tests/bug44141.phpt')
-rw-r--r-- | Zend/tests/bug44141.phpt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Zend/tests/bug44141.phpt b/Zend/tests/bug44141.phpt index 1a9ee892b6..aa0ae7ed4b 100644 --- a/Zend/tests/bug44141.phpt +++ b/Zend/tests/bug44141.phpt @@ -22,4 +22,8 @@ class Y extends X $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 |