Bug #21003 [Com]: PHP7: Cache_Lite has a deprecated constructor

From: Date: Tue, 01 Mar 2016 23:51:18 +0000
Subject: Bug #21003 [Com]: PHP7: Cache_Lite has a deprecated constructor
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11314@lists.php.net to get a copy of this message
Edit report at http://pear.php.net/bugs/bug.php?id=21003&edit=1 ID: 21003 Comment by: nacc Reported By: nish dot aravamudan at canonical dot com Summary: PHP7: Cache_Lite has a deprecated constructor Status: Open Type: Bug Package: Cache_Lite Operating System: Windows Package Version: 1.7.16 PHP Version: HEAD SVN-2015-12-16 New Comment: Sent a pull request at github: https://github.com/pear/Cache_Lite/pull/5. Previous Comments: ------------------------------------------------------------------------ [2015-12-16 14:45:56] okkie Description: ------------ PHP 7 reports this warning: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_Lite has a deprecated constructor in C:\php\pear\Cache\Lite.php on line 29 Test script: --------------- Incluse Cachelite in a php file: require_once 'Cache/Lite.php'; Open file in browser. Expected result: ---------------- No warning. Actual result: -------------- A warning is displayed: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Cache_Lite has a deprecated constructor in C:\php\pear\Cache\Lite.php on line 29 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=21003&edit=1

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