[Bug 1522900] [NEW] PHP 7, Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;

Launchpad Bug Tracker 1522900 at bugs.launchpad.net
Tue Sep 6 07:36:53 UTC 2016


You have been subscribed to a public bug by Richard Laager (rlaager):

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

** Affects: php-gettext
     Importance: Undecided
         Status: New

** Affects: php-gettext (Debian)
     Importance: Unknown
         Status: New

-- 
PHP 7, Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP;
https://bugs.launchpad.net/bugs/1522900
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list