diff options
| author | Nikita Popov <nikic@php.net> | 2015-05-15 21:04:07 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2015-05-15 23:40:32 +0200 |
| commit | c9f27ee4227268bc74fc54e0e06102317e614804 (patch) | |
| tree | 35680688ecebfd7bc1321f21a6919133dffa666f /ext/xmlreader/tests | |
| parent | 34e6fbbfed6bd63e7f71ca61ff73ca67d0c12b7b (diff) | |
| download | php-git-c9f27ee4227268bc74fc54e0e06102317e614804.tar.gz | |
Display EngineExceptions like ordinary exceptions
TypeException stays as-is for now because it uses messages that are
incompatible with the way exception messages are displayed.
closure_038.phpt and a few others now show that we're generating
too many exceptions for compound operations on undefined properties
-- this needs to be fixed in a followup.
Diffstat (limited to 'ext/xmlreader/tests')
| -rw-r--r-- | ext/xmlreader/tests/bug51936.phpt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/xmlreader/tests/bug51936.phpt b/ext/xmlreader/tests/bug51936.phpt index 4b5f1012e7..619b9ec1d9 100644 --- a/ext/xmlreader/tests/bug51936.phpt +++ b/ext/xmlreader/tests/bug51936.phpt @@ -19,4 +19,7 @@ Done --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 |
