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

Request #15725 set_magic_quotes_runtime deprecated in PHP 5.3.0 (alpha4dev)
Submitted: 2009-01-22 17:27 UTC
From: remicollet Assigned: tacker
Status: Closed Package: Cache_Lite (version 1.7.4)
PHP Version: 5_3 CVS-2008-03-16 OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


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 : 18 + 49 = ?

 
 [2009-01-22 17:27 UTC] remicollet (Remi Collet)
Description: ------------ Running Cache_Lite on latest PHP 5.3.0 snapshot generate a lot of E_DEPRECATED warnings. Simple patch proposal solve this issue (only call set_magic_quotes_runtime if needed : when value > 0) http://remi.fedorapeople.org/Lite.patch If php config is ok with the future no warning reported. If php config is not ok (magic_quotes_runtime On) warning will be reported and the admin will be notity that he'll have to work on his config. Test script: --------------- - Expected result: ---------------- No E_DEPRECATED warning Actual result: -------------- -

Comments

 [2009-01-22 19:23 UTC] tacker (Markus Tacker)
Thanks for reporting, but this is not a bug. PHP5/6 compatibility will come with version 2.0.
 [2009-07-06 22:32 UTC] saltybeagle (Brett Bieber)
The following patch has been added/updated: Patch Name: magic_quotes_patch.txt Revision: 1246901579 URL: http://pear.php.net/bugs/patch-display.php?bug=15725&patch=magic_quotes_patch.txt&revision=1246901579&display=1
 [2009-07-06 22:34 UTC] saltybeagle (Brett Bieber)
I would second applying this patch. There is no technical reason to not apply it, as the api does not change, and it will not affect compatibility with older versions – but will allow Cache_Lite to run without E_DEPRECATED errors on 5.3. Updated the patch to conform to PEAR CS.
 [2009-07-06 22:41 UTC] tacker (Markus Tacker)
-Status: Open +Status: Analyzed -Assigned To: +Assigned To: tacker -Roadmap Versions: 2.0 +Roadmap Versions:
 [2009-07-07 11:36 UTC] tacker (Markus Tacker)
-Status: Analyzed +Status: Closed
Thank you for your bug report. This issue has been fixed in the latest released version of the package, which you can download at http://pear.php.net/get/