#
b5726c2c |
| 17-Mar-2023 |
Ilija Tovilo |
Fix NUL byte in exception string terminating Exception::__toString() Fixes GH-10810 Closes GH-10873
|
#
45e224cf |
| 22-Oct-2022 |
Adam Saponara |
Fix GH-9709: Guard against current_execute_data==NULL in is_handle_exception_set
|
Revision tags: php-8.1.7RC1, php-8.1.4RC1, php-8.1.3, php-8.1.2RC1 |
|
#
ef2fd0e5 |
| 24-Nov-2021 |
Remi Collet |
fix [-Wstrict-prototypes] buid warnings |
Revision tags: php-8.1.0, php-7.3.33, php-7.3.32, php-7.3.31 |
|
#
f5cce2b1 |
| 08-Sep-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' into PHP-8.1 * PHP-8.0: Don't overwrite unwind exception
|
#
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 ...
|
Revision tags: php-7.3.30 |
|
#
6cc4e328 |
| 19-Aug-2021 |
Nikita Popov |
Only assign $severity for ErrorException This code is used by generic EH_THROW with arbitrary Exception types, while only ErrorException has a $severity property. We don't want this
Only assign $severity for ErrorException This code is used by generic EH_THROW with arbitrary Exception types, while only ErrorException has a $severity property. We don't want this code to add $severity properties to random exception types like PDOException.
show more ...
|
#
05ef6334 |
| 29-Jul-2021 |
Joe Watkins |
Fix bug #81303 improve match errors |
#
60484818 |
| 02-Aug-2021 |
Nikita Popov |
Add additional double to string APIs zend_double_to_str() converts a double to string in the way that (string) would (using %.*H using precision). smart_str_append_double() prov
Add additional double to string APIs zend_double_to_str() converts a double to string in the way that (string) would (using %.*H using precision). smart_str_append_double() provides some more fine control over the precision, and whether a zero fraction should be appeneded for whole numbers. A caveat here is that raw calls to zend_gcvt and going through s*printf has slightly different behavior for the degenarate precision=0 case. zend_gcvt will add a dummy E+0 in that case, while s*printf convert this to precision=1 and will not. I'm going with the s*printf behavior here, which is more common, but does result in a minor change to the precision.phpt test.
show more ...
|
#
ae8647d9 |
| 20-Jul-2021 |
Levi Morrison |
Remove leading underscore for _zend_hash_find_known_hash (#7260) Convert zend_hash_find_ex(..., 1) to zend_hash_find_known_hash(...) Convert zend_hash_find_ex(..., 0) to zend_hash_find(.
Remove leading underscore for _zend_hash_find_known_hash (#7260) Convert zend_hash_find_ex(..., 1) to zend_hash_find_known_hash(...) Convert zend_hash_find_ex(..., 0) to zend_hash_find(...) Also add serializable changes to UPGRADING.INTERNALS summary
show more ...
|
Revision tags: php-7.3.29 |
|
#
aff36587 |
| 29-Jun-2021 |
Patrick Allaert |
Fixed some spaces used instead of tabs |
#
66442a51 |
| 28-Jun-2021 |
Aaron Piotrowski |
Allow creating Graceful/UnwindExit and use when destroying a fiber (#7174) Direct creation of GracefulExit allows the the special exception object to be transfered and thrown into a destroye
Allow creating Graceful/UnwindExit and use when destroying a fiber (#7174) Direct creation of GracefulExit allows the the special exception object to be transfered and thrown into a destroyed fiber using the same path as any other exception thrown into a fiber instead of needing to check for a flag.
show more ...
|
#
100a1e8e |
| 28-May-2021 |
Nikita Popov |
Convert exception during inheritance to fatal error Now that inheritance can throw deprecations again, these may be converted to exception by a custom error handler. In this case we
Convert exception during inheritance to fatal error Now that inheritance can throw deprecations again, these may be converted to exception by a custom error handler. In this case we need to convert the exception to a fatal error, as inheritance cannot safely throw in the general case.
show more ...
|
#
de6e401e |
| 18-May-2021 |
Nikita Popov |
Use common formatting for backtraces (#6977) This makes debug_print_backtrace() use the same formatting as exception backtraces. The only difference is that the final #{main} is omitted,
Use common formatting for backtraces (#6977) This makes debug_print_backtrace() use the same formatting as exception backtraces. The only difference is that the final #{main} is omitted, because it wouldn't make sense for limited backtraces, and wasn't there previously either.
show more ...
|
#
79d237c8 |
| 29-Apr-2021 |
Nikita Popov |
Remove some unnecessary exception type checks These types are enforced by typed properties now. |
Revision tags: php-7.3.28 |
|
#
c276c16b |
| 26-Apr-2021 |
Aaron Piotrowski |
Implement Fibers RFC: https://wiki.php.net/rfc/fibers Closes GH-6875. |
#
a1c6ee21 |
| 23-Apr-2021 |
Nikita Popov |
Convert error filename to zend_string Error handling functions/callbacks now accept the error filename as a zend_string* instead of a const char*. |
#
30a082cb |
| 20-Apr-2021 |
Máté Kocsis |
Make some exception properties typed Closes GH-6891 |
#
ca49e536 |
| 15-Apr-2021 |
Dmitry Stogov |
Stop inserting fake frames on VM stack. Now similar "fake" frames now materialized when fetching debug backtraces. The patch also fixes few incorrect backtraces for generators in *.p
Stop inserting fake frames on VM stack. Now similar "fake" frames now materialized when fetching debug backtraces. The patch also fixes few incorrect backtraces for generators in *.phpt tests.
show more ...
|
#
91908bcd |
| 13-Apr-2021 |
Nikita Popov |
Merge branch 'PHP-8.0' * PHP-8.0: Fix function/file mixup in backtrace printing
|
#
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. |
#
462da6e0 |
| 31-Mar-2021 |
Josh Soref |
Fix spelling and grammar mistakes This PR corrects misspellings identified by the check-spelling action. The misspellings have been reported at jsoref@b6ba3e2#commitcomment-48946465
Fix spelling and grammar mistakes This PR corrects misspellings identified by the check-spelling action. The misspellings have been reported at jsoref@b6ba3e2#commitcomment-48946465 The action reports that the changes in this PR would make it happy: jsoref@602417c Closes GH-6822.
show more ...
|
#
be920099 |
| 17-Feb-2021 |
Anton Vasiliev |
Fix typo Closes GH-6708 Signed-off-by: George Peter Banyard <girgias@php.net> |
Revision tags: php-7.3.27 |
|
#
1954e597 |
| 26-Jan-2021 |
Máté Kocsis |
Add support for generating class entries from stubs Closes GH-6289 Co-authored-by: Nikita Popov <nikita.ppv@gmail.com> |
#
3e01f5af |
| 15-Jan-2021 |
Nikita Popov |
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool
Replace zend_bool uses with bool We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
show more ...
|
#
422d1665 |
| 14-Jan-2021 |
Nikita Popov |
Make convert_to_*_ex simple aliases of convert_to_* Historically, the _ex variants separated the zval first, if a conversion was necessary. This distinction no longer makes sense sin
Make convert_to_*_ex simple aliases of convert_to_* Historically, the _ex variants separated the zval first, if a conversion was necessary. This distinction no longer makes sense since PHP 7. The only difference that was still left is that _ex checked whether the type is the same first, but the usage of these macros did not actually distinguish on whether such an inlined check is valuable or not in a given context. Also drop the unused convert_to_explicit_type macros.
show more ...
|