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

Bug #13472 PHP 6 Removes get_magic_quotes_gpc
Submitted: 2008-03-23 18:46 UTC
From: minichate Assigned: quipo
Status: Closed Package: Pager (version 2.4.5)
PHP Version: HEAD CVS-2008-03-16 OS: Ubuntu Linux
Roadmaps: (Not assigned)    
Subscription  


 [2008-03-23 18:46 UTC] minichate (Chris Troup)
Description: ------------ Fatal error: Call to undefined function get_magic_quotes_gpc() in Pager/Common.php on line 974

Comments

 [2008-03-24 01:59 UTC] dufuz (Helgi Þormar Þorbjörnsson)
This function will be added into PHP 6 again as far as I know and only deprecated but Lorenzo might want to do method_exists or something but I'd advice against it.
 [2008-03-26 21:23 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2008-03-26 21:39 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Lorenzo, please change the summary of this report and in the changelog since PHP 6 won't actually remove the function.
 [2008-03-26 21:45 UTC] quipo (Lorenzo Alberton)
It won't? Are you sure? Should I revert?
 [2008-03-28 18:12 UTC] dufuz (Helgi Þormar Þorbjörnsson)
Well, nah it's fine to keep it in, pretty sure we'll have a new Pager (v2 or some) by the time PHP 6 is out ;-)