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 same-name constructor deprecation #286

Open
roycewilliams opened this issue Sep 29, 2021 · 0 comments
Open

PHP same-name constructor deprecation #286

roycewilliams opened this issue Sep 29, 2021 · 0 comments

Comments

@roycewilliams
Copy link

roycewilliams commented Sep 29, 2021

PHP 7.4 deprecates as follows:

Methods with the same name as their class will not be constructors in a future version of PHP

... for at least the following (there may be others), all of which have constructors that are, as expected, the same name as their class:

ADODB_Cache_File has a deprecated constructor in php-reports/vendor/adodb/adodb-php/adodb.inc.php on line 278
ADORecordSet has a deprecated constructor in php-reports/vendor/adodb/adodb-php/adodb.inc.php on line 3111
ADORecordSet_array has a deprecated constructor in php-reports/vendor/adodb/adodb-php/adodb.inc.php on line 4177

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

1 participant