Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.8.3

Bug #21003 PHP7: Cache_Lite has a deprecated constructor
Submitted: 2015-12-16 19:45 UTC
From: okkie Assigned: ashnazg
Status: Closed Package: Cache_Lite (version 1.7.16)
PHP Version: HEAD SVN-2015-12-16 OS: Windows
Roadmaps: 1.8    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 24 + 42 = ?

 
 [2015-12-16 19:45 UTC] okkie (okkie p.)
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

Comments

 [2016-03-01 23:50 UTC] nacc (Nish Aravamudan)
Sent a pull request at github: https://github.com/pear/Cache_Lite/pull/5.
 [2018-02-13 13:10 UTC] ashnazg (Chuck Burgess)
-Assigned To: +Assigned To: ashnazg
 [2018-02-13 13:11 UTC] ashnazg (Chuck Burgess)
-Status: Assigned +Status: Closed -Roadmap Versions: +Roadmap Versions: 1.8
This was corrected in PR #5 and included in 1.8.0 release.