PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Caching » Cache » Bug #3515

Typo in Cache_Container_file

Details

Submitted2005-02-18 10:05 UTC
FromGirish dot Nair1 at cognizant dot com
Assigneddufuz
StatusClosed
PackageCache
PHP Version4.3.8
OSLinux
Roadmaps(Not assigned)

Comments

[2005-02-18 10:05 UTC] Girish dot Nair1 at cognizant dot com

Description:
------------
I'm using Cache 1.5.4 . Using a third party PHP editor I found this typo in the file Cache/Container/file.php in line 265.

The code is reproduced below. The double quotes are not closed so as to put the value of $entry['file'] in the CacheError statement.

Reproduce code:
---------------
new CacheError("Can't delete {$entry["file"]}. Check the permissions.");

Expected result:
----------------
No error messages

Actual result:
--------------
Syntax Error:unexpected token: "]}. Check the permissions.