summaryrefslogtreecommitdiff
path: root/Zend/tests/bug64821.3.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Tweak uncaught exception message displayNikita Popov2015-05-171-1/+1
| | | | | | | | | | | | | 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.
* Fixed bug #64821 Custom Exceptions crash when internal properties overriddenAnatol Belski2013-05-121-0/+20
If user inherits Exception and overrides the properties to arbitrary data types, or simply doesn't run parent::__construct(), here we go. Just convert everything to the appropriate data type, like Exception::__toString() does.