Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 27, 2025

. get_error_handler() allows retrieving the current user-defined error handler
function.
RFC: https://wiki.php.net/rfc/get-error-exception-handler
. get_exception_handler() allows retrieving the current user-defined exception
handler function.
RFC: https://wiki.php.net/rfc/get-error-exception-handler

This commit accounts for detecting the new functions.

Refs:

Related to #1849

> . get_error_handler() allows retrieving the current user-defined error handler
>   function.
>   RFC: https://wiki.php.net/rfc/get-error-exception-handler
> . get_exception_handler() allows retrieving the current user-defined exception
>   handler function.
>   RFC: https://wiki.php.net/rfc/get-error-exception-handler

This commit accounts for detecting the new functions.

Refs:
* https://wiki.php.net/rfc/get-error-exception-handler
* https://github.com/php/php-src/blob/34721745833b4c9e69ed22f1b17c4c1c421f7179/UPGRADING#L737-L742
* php/php-src 17693
* php/php-src@14fc50e

Related to 1849
@jrfnl jrfnl added this to the 10.0.0-alpha2 milestone Oct 27, 2025
@jrfnl jrfnl requested a review from wimg October 27, 2025 22:33
@jrfnl jrfnl added Type: enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Oct 27, 2025
@wimg wimg enabled auto-merge October 27, 2025 22:51
@wimg wimg merged commit e09ab86 into develop Oct 27, 2025
76 checks passed
@wimg wimg deleted the php-8.5/newfunctions-error-handling branch October 27, 2025 22:52
@github-actions github-actions bot removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Oct 27, 2025
@jrfnl jrfnl added the PHP: 8.5 label Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants