Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.0: Handle removed track_errors and $php_errormsg #1187

Merged
merged 1 commit into from
Aug 9, 2020

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Jul 20, 2020

Removed track_errors ini directive. This means that $php_errormsg is no
longer available. The error_get_last() function may be used instead.

Refs:

Includes adjusted unit tests.

Related to #809

> Removed `track_errors` ini directive. This means that `$php_errormsg` is no
longer available. The `error_get_last()` function may be used instead.

Refs:
* https://github.com/php/php-src/blob/69888c3ff1f2301ead8e37b23ff8481d475e29d2/UPGRADING#L28-L29
* php/php-src@920b4b2

Includes adjusted unit tests.
@jrfnl jrfnl added enhancement PR: quick merge PR only contains relatively simple changes PR: ready for review labels Jul 20, 2020
@jrfnl jrfnl added this to the 10.0.0 milestone Jul 20, 2020
@jrfnl jrfnl requested a review from wimg July 20, 2020 08:33
@wimg wimg merged commit da5fa17 into develop Aug 9, 2020
@wimg wimg deleted the PHP-8.0/handle-removed-track-errors-php-errormsg branch August 9, 2020 18:56
@jrfnl jrfnl removed PR: quick merge PR only contains relatively simple changes PR: ready for review labels Aug 9, 2020
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.

2 participants