Bug #17774 [Com]: Patch: Avoid deprecated function calls
| From: | borisovg | Date: | Sun, 06 Jan 2013 17:26:03 +0000 |
| Subject: | Bug #17774 [Com]: Patch: Avoid deprecated function calls | ||
| References: | 1 | Groups: | php.pear.bugs |
| Request: | Send a blank email to pear-bugs+get-9455@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=17774&edit=1
ID: 17774
Comment by: borisovg
Reported By: box1 at gir dot me dot uk
Summary: Patch: Avoid deprecated function calls
Status: Open
Type: Bug
Package: Cache_Lite
Package Version: SVN
PHP Version: 5.3.1
New Comment:
In case this helps anyone: having endured the deprecation warnings for
several months, I gave up and re-implemented a large chunk of Cache_Lite
in PHP5.
https://github.com/borisovg/php-cache-zero
This is not a complete re-implementation, only the core of Lite.php and
Output.php as it is all I use.
It is not a drop-in replacement, as I have changed the names of some of
the options and and functions.
Previous Comments:
------------------------------------------------------------------------
[2011-05-13 09:15:09] nahuel
I think, since this function is a deprecated one, Cache_Lite should not
use it, or at least use it, only if the PHP version support it as
non-deprecated.
------------------------------------------------------------------------
[2010-08-24 03:08:57] doconnor
This represents a small BC break for old php with magic quotes on.
I think we should put it to the wider QA community to decide if we
should do this, and how widely we should publish the BC break (pear
blog? do a branch?)
------------------------------------------------------------------------
[2010-08-21 01:59:07] olleolleolle
Added #patch
bug:17774;patch:avoid_setmagicruntime.patch;revision:1282355947;.
------------------------------------------------------------------------
[2010-08-21 01:58:48] olleolleolle
Description:
------------
WARNING: Function 'set_magic_quotes_runtime' is deprecated,
its use is no longer recommended in file:
./Cache_Lite/Lite.php line 716
line 728
line 775
line 779
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=17774&edit=1