php-src/Zend/tests/use_function
Nikita Popov 3ae995f03c Tweak uncaught exception message display
This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with message 'Call to private method foo::bar() from context ''' in %s:%d
+Fatal error: Uncaught EngineException: Call to private method foo::bar() from context '' in %s:%d

The '' wrapper around messages is very weird if the exception
message itself contains ''. Futhermore having the message wrapped
in '' doesn't work for the "and defined" suffix of
TypeExceptions.
2015-05-17 18:47:06 +02:00
..
includes Disallow using functions/consts defined in the same file 2013-08-25 00:02:46 +02:00
alias.phpt
basic.phpt
case_insensivity.phpt Clarify type of use in error messages 2013-10-14 23:32:11 +02:00
conditional_function_declaration.phpt Add test for conditional function declaration 2013-08-29 17:16:18 +02:00
conflicting_use_alias.phpt Add test case for conflicting use and use function alias (stas) 2013-08-22 15:51:26 +02:00
conflicting_use_const_alias.phpt Adjust some test names, remove obsolete and duplicate tests (nikic) 2013-08-25 14:03:07 +02:00
conflicting_use.phpt Clarify type of use in error messages 2013-10-14 23:32:11 +02:00
define_imported_before.phpt Add "Done" output to distinguish hard from soft failures 2013-10-14 23:21:06 +02:00
define_imported.phpt Add test cases for conflicting use and definition in same ns (stas) 2013-08-23 23:31:17 +02:00
ignore_constants.phpt
no_global_fallback2.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
no_global_fallback.phpt Tweak uncaught exception message display 2015-05-17 18:47:06 +02:00
self_parent.phpt self and parent are valid function and const names (nikic) 2013-08-25 15:08:26 +02:00
shadow_core.phpt Disallow using functions/consts defined in the same file 2013-08-25 00:02:46 +02:00
shadow_global.phpt Disallow using functions/consts defined in the same file 2013-08-25 00:02:46 +02:00