diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-29 14:15:58 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2018-09-29 14:21:08 +0200 |
commit | 8b8b625d088c859a3dc42f31acd7ec95b780158e (patch) | |
tree | b976b23fc66b4a747dea583e1453956c18d58623 /tests | |
parent | 7189e0b70f54b313dd4fe310d4bf3e1dfe6ec95d (diff) | |
download | php-git-8b8b625d088c859a3dc42f31acd7ec95b780158e.tar.gz |
Fixed bug #72635
This seems to be a simple oversight, where we did not enable
exceptions. Other constexpr conditions already throw, so there is
no particular reason to stick to a fatal error here.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/classes/constants_error_004.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/classes/constants_error_004.phpt b/tests/classes/constants_error_004.phpt index 3f34473dad..27777f8772 100644 --- a/tests/classes/constants_error_004.phpt +++ b/tests/classes/constants_error_004.phpt @@ -10,4 +10,7 @@ Class constant whose initial value references a non-existent class $a = new C(); ?> --EXPECTF-- -Fatal error: Class 'D' not found in %s on line %d +Fatal error: Uncaught Error: Class 'D' not found in %s:%d +Stack trace: +#0 {main} + thrown in %s on line %d |