PHP 7, Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php-gettext |
Fix Released
|
Undecided
|
Unassigned | ||
php-gettext (Debian) |
Fix Released
|
Unknown
|
Bug Description
Hi,
PHP 7 gives these warnings:
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; StringReader has a deprecated constructor in .../streams.php on line 48
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; FileReader has a deprecated constructor in .../streams.php on line 84
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; CachedFileReader has a deprecated constructor in .../streams.php on line 145
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; gettext_reader has a deprecated constructor in .../gettext.php on line 36
I cannot fix it with cahnges of: error_reporting = , only with setting: display_errors= Off in php.ini file on Mac OS El Capitan.
But it is not too good to have errors reporting disabled on developing machine.
With best regards,
Oleksiy
Changed in php-gettext (Debian): | |
status: | Unknown → New |
Changed in php-gettext: | |
status: | New → Confirmed |
Changed in php-gettext (Debian): | |
status: | New → Fix Released |
PHP 7 is so much faster, that I do not want to return to PHP 5.