#
45e224cf |
| 22-Oct-2022 |
Adam Saponara |
Fix GH-9709: Guard against current_execute_data==NULL in is_handle_exception_set
|
#
85b80c5a |
| 03-Sep-2021 |
Nikita Popov |
Don't overwrite unwind exception When killing a coroutine by throwing an unwind exit into it during an I/O operation, the I/O failure may result in an exception being thrown, which w
Don't overwrite unwind exception When killing a coroutine by throwing an unwind exit into it during an I/O operation, the I/O failure may result in an exception being thrown, which will replace the unwind exit exception and the coroutine will ultimately not exit. This patch avoids this by ignoring the newly thrown exception and keeping the unwind exit exception. Closes GH-7459.
show more ...
|
#
6fd13d0a |
| 17-Mar-2021 |
Levi Morrison |
Fix function/file mixup in backtrace printing The error says "Function name" is not a string, but it's actually investigating the "file" field, not "function". Closes GH-6768.
|
Revision tags: php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1 |
|
#
1748b811 |
| 13-Oct-2020 |
Nikita Popov |
Fix handling of throwing undef var in verify return If we have an undefined variable and null is not accepted by the return type, we want to throw just the undef var error. In t
Fix handling of throwing undef var in verify return If we have an undefined variable and null is not accepted by the return type, we want to throw just the undef var error. In this case this lead to an infinite loop, because we overwrite the exception opline in SAVE_OPLINE and it does not get reset when chaining into a previous exception. Add an assertiong to catch this case earlier.
show more ...
|
Revision tags: php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23 |
|
#
d60c43e3 |
| 21-Sep-2020 |
Nikita Popov |
Convert exception instanceof checks to assertions
|
#
4c821cf2 |
| 19-Sep-2020 |
Máté Kocsis |
Improve default value handling of Exception constructors Closes GH-6166
|
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1 |
|
#
1359a52d |
| 14-Sep-2020 |
Benjamin Eberlei |
Rename zend_error_notify APIs to zend_observer_error*
|
Revision tags: php-8.0.0beta3, php-7.4.10, php-7.3.22 |
|
#
fa8d9b11 |
| 28-Aug-2020 |
George Peter Banyard |
Improve type declarations for Zend APIs Voidification of Zend API which always succeeded Use bool argument types instead of int for boolean arguments Use bool return type for functio
Improve type declarations for Zend APIs Voidification of Zend API which always succeeded Use bool argument types instead of int for boolean arguments Use bool return type for functions which return true/false (1/0) Use zend_result return type for functions which return SUCCESS/FAILURE as they don't follow normal boolean semantics Closes GH-6002
show more ...
|
Revision tags: php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1 |
|
#
ee163161 |
| 10-Aug-2020 |
Nikita Popov |
Fixed bug #79948 Make sure we don't execute further scripts if one of them encountered an exit exception. Also make sure that we free file handles that end up unused due to
Fixed bug #79948 Make sure we don't execute further scripts if one of them encountered an exit exception. Also make sure that we free file handles that end up unused due to an early abort in php_execute_scripts(), which turned up as an issue in the added test case. Finally, make use of EG(exit_status) in the places where we zend_eval_string_ex, instead of unconditionally assigning exit code 254. If an error occurs, the error handler will already set exit status 255.
show more ...
|
#
8b77c581 |
| 07-Aug-2020 |
Nikita Popov |
Accept zend_object* in zend_update_property
|
#
01cbb596 |
| 07-Aug-2020 |
Nikita Popov |
Accept zend_object* in zend_unset_property
|
#
978b7de2 |
| 07-Aug-2020 |
Nikita Popov |
Accept zend_object* in zend_get_exception_base
|
#
7991fc27 |
| 07-Aug-2020 |
Nikita Popov |
Accept zend_object in zend_read_property
|
#
af80d8a1 |
| 05-Aug-2020 |
Máté Kocsis |
Add more argument types to stubs Closes GH-5943
|
Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1, php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17 |
|
#
d92229d8 |
| 06-Apr-2020 |
Nikita Popov |
Implement named parameters From an engine perspective, named parameters mainly add three concepts: * The SEND_* opcodes now accept a CONST op2, which is the argument nam
Implement named parameters From an engine perspective, named parameters mainly add three concepts: * The SEND_* opcodes now accept a CONST op2, which is the argument name. For now, it is looked up by linear scan and runtime cached. * This may leave UNDEF arguments on the stack. To avoid having to deal with them in other places, a CHECK_UNDEF_ARGS opcode is used to either replace them with defaults, or error. * For variadic functions, EX(extra_named_params) are collected and need to be freed based on ZEND_CALL_HAS_EXTRA_NAMED_PARAMS. RFC: https://wiki.php.net/rfc/named_params Closes GH-5357.
show more ...
|
#
07db6415 |
| 25-Jun-2020 |
Tyson Andre |
[RFC] Make string length for getTraceAsString() configurable Add a `zend.exception_string_param_max_len` ini setting. (same suffix as `log_errors_max_len`) Allow values between
[RFC] Make string length for getTraceAsString() configurable Add a `zend.exception_string_param_max_len` ini setting. (same suffix as `log_errors_max_len`) Allow values between 0 and 1000000 bytes. For example, with zend.exception_string_param_max_len=0, "" would represent the empty string, and "..." would represent something longer than the empty string. Previously, this was hardcoded as exactly 15 bytes. Discussion: https://externals.io/message/110717 Closes GH-5769
show more ...
|
#
6e92487f |
| 22-Jul-2020 |
twosee |
Fix warnings of strict-prototypes Closes GH-5887.
|
#
f9ced0d4 |
| 17-Jul-2020 |
Nikita Popov |
Add missing zpp_none call in Exception::__wakeup
|
#
6c8b94eb |
| 27-Apr-2020 |
Benjamin Eberlei |
Introduce error notification callbacks that are run independant of zend_error_cb
|
#
d30cd7d7 |
| 26-May-2020 |
Máté Kocsis |
Review the usage of apostrophes in error messages Closes GH-5590
|
#
9fa1d133 |
| 09-Apr-2020 |
Ilija Tovilo |
Implement match expression RFC: https://wiki.php.net/rfc/match_expression_v2 Closes GH-5371.
|
#
302933da |
| 07-Jul-2020 |
Nikita Popov |
Remove no_separation flag
|
#
2b5de6f8 |
| 01-Jul-2020 |
Max Semenik |
Remove proto comments from C files Closes GH-5758
|
#
fc6f53d4 |
| 30-Jun-2020 |
Nikita Popov |
Fix leak when setting cyclic previous exception in finally A curious exception handling pattern found in Symfony's HttpClient.
|
Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16 |
|
#
75a04eac |
| 06-Mar-2020 |
Nikita Popov |
Make exit() unwind properly exit() is now internally implemented by throwing an exception, performing a normal stack unwind and a clean shutdown. This ensures that no persistent reso
Make exit() unwind properly exit() is now internally implemented by throwing an exception, performing a normal stack unwind and a clean shutdown. This ensures that no persistent resource leaks occur. The exception is internal, cannot be caught and does not result in the execution of finally blocks. This may be relaxed in the future. Closes GH-5768.
show more ...
|