summaryrefslogtreecommitdiff
path: root/sapi/cli/tests/php_cli_server_015.phpt
diff options
context:
space:
mode:
authorNikita Popov <nikic@php.net>2015-05-15 21:04:07 +0200
committerNikita Popov <nikic@php.net>2015-05-15 23:40:32 +0200
commitc9f27ee4227268bc74fc54e0e06102317e614804 (patch)
tree35680688ecebfd7bc1321f21a6919133dffa666f /sapi/cli/tests/php_cli_server_015.phpt
parent34e6fbbfed6bd63e7f71ca61ff73ca67d0c12b7b (diff)
downloadphp-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 'sapi/cli/tests/php_cli_server_015.phpt')
-rw-r--r--sapi/cli/tests/php_cli_server_015.phpt6
1 files changed, 5 insertions, 1 deletions
diff --git a/sapi/cli/tests/php_cli_server_015.phpt b/sapi/cli/tests/php_cli_server_015.phpt
index e3d8c4170d..fc7d0f2b9b 100644
--- a/sapi/cli/tests/php_cli_server_015.phpt
+++ b/sapi/cli/tests/php_cli_server_015.phpt
@@ -46,4 +46,8 @@ X-Powered-By: PHP/%s
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 />