Bug #21169 [Com]: Deprecated Warning

From: Date: Sat, 21 Jan 2017 22:34:55 +0000
Subject: Bug #21169 [Com]: Deprecated Warning
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11358@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=21169&edit=1 ID: 21169 Comment by: james@elstone.net Reported By: james at elstone dot net Summary: Deprecated Warning Status: Open Type: Bug Package: Services_JSON Operating System: FreeBSD Package Version: 1.0.3 PHP Version: HEAD SVN-2017-01-21 Roadmap Versions: New Comment: Also: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON has a deprecated constructor in /usr/local/share/pear/Services/JSON.php on line 119 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /usr/local/share/pear/Services/JSON.php on line 924 Previous Comments: ------------------------------------------------------------------------ [2017-01-21 17:32:50] jameselstone Description: ------------ Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Services_JSON_Error has a deprecated constructor in /usr/local/share/pear/Services/JSON.php on line 910 Test script: --------------- Install PHP7.0 and include Service/JSON.php. Expected result: ---------------- Warning not shown ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=21169&edit=1

« previous php.pear.bugs (#11358) next »