summaryrefslogtreecommitdiff
path: root/Zend/tests/class_name_as_scalar_error_005.phpt
Commit message (Collapse)AuthorAgeFilesLines
* Review the usage of apostrophes in error messagesMáté Kocsis2020-07-101-1/+1
| | | | Closes GH-5590
* Update exception names in tests after formatting changes.Aaron Piotrowski2015-05-171-1/+1
|
* 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.
* Display EngineExceptions like ordinary exceptionsNikita Popov2015-05-151-1/+4
| | | | | | | | | 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.
* Disallow self etc outside classes at compile-timeNikita Popov2015-04-291-1/+1
| | | | | | | Also fix a bug with return types where "self" was rejected inside a class, but not on a method. Fallout: A couple of tests changed to more generic error messages.
* Class Name Resolution As Scalar Via "class" KeywordLars Strojny2013-01-191-0/+10