PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Caching » Cache_Lite » Bug #7292

Bogus

Details

Submitted2006-04-04 17:57 UTC
Fromoh8e5r2n2k at spambob dot com
StatusBogus
PackageCache_Lite
PHP Version5.1.2
OSWin XP SP2
Roadmaps(Not assigned)

Comments

[2006-04-04 17:57 UTC] oh8e5r2n2k at spambob dot com

Description:
------------
When strict error reporting is enabled, using Cache_Lite at all produces numerous errors - all complaining the keyword var is deprecated.

Test script:
---------------
<?php
error_reporting(E_STRICT);
include('Cache/Lite.php');
?>

Expected result:
----------------
I expected no error messages

Actual result:
--------------
Strict Standards: var: Deprecated. Please use the public/private/protected modifiers in C:\Program Files\PHP\PEAR\Cache\Lite.php on line 40

...line 49 , ...line 58 , ...line 67 , ...line 74
...line 81 , ...line 88 , ...line 98 , ...line 108
...line 120 , ...line 130 , ...line 137 , ...line 144
...line 153 , ...line 161 , ...line 168 , ...line 175
...line 182 , ...line 194 , ...line 204 , ...line 217
...line 230 , ...line 237 , ...line 249

[2006-04-04 19:01 UTC] fab at php dot net

Cache_Lite is not "PHP5 only".

So, it's not a bug but a "normal" thing, isn't it ?

[2006-04-21 17:18 UTC] fab at php dot net

no reply

[2007-09-12 21:10 UTC] oh8e5r2n2k at spambob dot com

Bogus