1
0
mirror of https://github.com/php/php-src.git synced 2026-04-21 23:18:13 +02:00
Commit Graph

12 Commits

Author SHA1 Message Date
Nikita Popov f8d795820e Reindent phpt files 2020-02-03 22:52:20 +01:00
Nikita Popov a8d901a80c Remove zend_version() checks from tests 2017-01-30 22:50:25 +01:00
Aaron Piotrowski e97d5fab35 Update exception names in tests after formatting changes. 2015-05-17 17:31:43 -05:00
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
Nikita Popov c9f27ee422 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.
2015-05-15 23:40:32 +02:00
Marcus Boerger ffd6f29ef8 Prefix all engine 2 tests 2003-08-09 14:48:47 +00:00
Marcus Boerger 4a152cad0c abstract classes must now be declared abstract 2003-03-07 00:01:08 +00:00
Marcus Boerger cbab922570 "of cause" should have been "of course" but is not needed anyway
#noticed by Zeev
2002-12-10 11:21:30 +00:00
Marcus Boerger e7f5b801be Do not instanciate an abstract class 2002-11-28 17:07:50 +00:00
Andrey Hristov 850586cfe7 typo fix. 2002-11-22 11:11:31 +00:00
Marcus Boerger 4e78286eaf Update error message and say 'method' instead of 'function' 2002-11-22 10:44:36 +00:00
Marcus Boerger b66a39eb6e Test: An abstract function can be overwritten but not called 2002-11-21 15:06:54 +00:00