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 » File System » VFS » Bug #4425

missing return value

Details

Submitted2005-05-25 08:50 UTC
Frommdv at inyourpocket dot com
Assignedyunosh
StatusClosed
PackageVFS
PHP Version5.0.4
OSLinux debian
Roadmaps(Not assigned)

Comments

[2005-05-25 08:50 UTC] mdv at inyourpocket dot com

Description:
------------
$vfs = &VFS::factory('file');

$r = $vfs->deleteFile('/tmp', 'test.txt');

var_dump($r) --> NULL

but should be true, if success

Reproduce code:
---------------
solution: there is missing "return true" in file VFS/file.php in function deleteFile()

Expected result:
----------------
true

Actual result:
--------------
NULL