History log of /PHP-8.0/Zend/zend_exceptions.c (Results 151 – 175 of 375)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 47d838a7 15-Jun-2015 Aaron Piotrowski

Move definition of Throwable to zend_exceptions.h/c

Also moved REGISTER_ITERATOR_INTERFACE macro to
zend_interfaces.h and renamed it to REGISTER_INTERFACE.


# 0265cf5a 15-Jun-2015 Aaron Piotrowski

Check for zend_ce_throwable instead


# 8e7e4fb6 15-Jun-2015 Aaron Piotrowski

Fix previous exception type check


# 4d590ac35 15-Jun-2015 Aaron Piotrowski

Update exception error messages


Revision tags: php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1
# e57aceed 20-May-2015 Dmitry Stogov

Fixed access to wrong opline (it may be the last ZEND_THROW in op_array->opcodes)


# a5f408c9 18-May-2015 Xinchen Hui

1. Fixed bug #69640 Unhandled EngineExceptions thrown from userland do not produce any output

2. Fixed Segfault introduced by latest changes


# 7e18df82 17-May-2015 Aaron Piotrowski

Merge exception formatting changes.


# 440481fb 17-May-2015 Nikita Popov

Display TypeExceptions like normal exceptions

We currently don't show the argument at which the error actually
occured in the trace - should probably either add it or don't
display a

Display TypeExceptions like normal exceptions

We currently don't show the argument at which the error actually
occured in the trace - should probably either add it or don't
display args on incomplete frames altogether, otherwise this'll
probably be confusing.

show more ...


# 26b35cab 17-May-2015 Aaron Piotrowski

Make zend_get_exception_base static.

Soap extension can use other API functions.


# 3ae995f0 17-May-2015 Nikita Popov

Tweak uncaught exception message display

This implements a reduced variant of #1226 with just the following
change:

-Fatal error: Uncaught exception 'EngineException' with messa

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.

show more ...


# b965bab9 17-May-2015 Aaron Piotrowski

Fix handler double copy.


# d042d088 16-May-2015 Aaron Piotrowski

Remodel exceptions based on Throwable interface

Added Throwable interface that exceptions must
implement in order to be thrown. BaseException
was removed, EngineException renamed to

Remodel exceptions based on Throwable interface

Added Throwable interface that exceptions must
implement in order to be thrown. BaseException
was removed, EngineException renamed to
Error, and TypeException and ParseException
renamed to TypeError and ParseError. Exception
and Error no longer extend a common base
class, rather they both implement the Throwable
interface.

show more ...


# c9f27ee4 15-May-2015 Nikita Popov

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.

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.

show more ...


# 230b435e 15-May-2015 Nikita Popov

Fix exception leak in interactive console

Shows up there because it throws at E_WARNING severity level and
as such leak detection is not suppressed.


Revision tags: php-5.5.25, php-5.6.9, php-5.4.41, php-5.6.9RC1, php-5.5.25RC1
# 6551f996 27-Apr-2015 hakre

Minor Typo in Comment


Revision tags: php-5.6.8, php-5.5.24, php-5.4.40
# 0d562a8f 15-Apr-2015 Xinchen Hui

Fixed res leak


# 82ec0d5f 15-Apr-2015 Xinchen Hui

Fixed res leak


# 4b27569d 14-Apr-2015 Xinchen Hui

codes standard


# a894a815 06-Apr-2015 Stanislav Malyshev

More fixes for bug #69152


# ad863c17 02-Apr-2015 Dmitry Stogov

Convert fatal errors into EngineException


# acfc31c0 01-Apr-2015 Dmitry Stogov

Use zend_error_noreturn() for fatal errors


Revision tags: php-5.6.8RC1, php-5.5.24RC1
# 7cf05ce8 20-Mar-2015 Dmitry Stogov

Fixed error messages


Revision tags: php-5.6.7
# 724f7118 18-Mar-2015 Anthony Ferrara

Refactor error messages to only append defined in the event of rendering as a fatal error. Fix relative typehints to not work


# 7feebead 18-Mar-2015 Anthony Ferrara

Refactor error implementation significantly to centralize error mode behavior. Add zend_internal_type_error() function


Revision tags: php-5.5.23, php-5.4.39
# 1c94ff05 09-Mar-2015 Dmitry Stogov

Implement engine exceptions

RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7

Pending changes regarding naming of BaseException and whether it
should be an interface.


12345678910>>...15