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

Tincan error in the set_error_handler method due to incompatibility with PHP 8.0 #111

Open
GrahamStaveleyBerry opened this issue Apr 10, 2024 · 1 comment

Comments

@GrahamStaveleyBerry
Copy link

GrahamStaveleyBerry commented Apr 10, 2024

As of PHP 8.0, the native PHP method set_error_handler now only accepts 4 parameters instead of 5 due to the variable $errcontext being removed.

See PHP official Docs:
https://www.php.net/manual/en/function.set-error-handler.php

Warning
This parameter has been DEPRECATED as of PHP 7.2.0, and REMOVED as of PHP 8.0.0. If the function defines this parameter without a default, an error of "too few arguments" will be raised when it is called.

Tasks

Preview Give feedback
No tasks being tracked yet.
GrahamStaveleyBerry pushed a commit to EntradaPackages/TinCanPHP that referenced this issue Apr 10, 2024
@jonathan-bird
Copy link

Would be great if someone could merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants