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

Bug #4425 missing return value
Submitted: 2005-05-25 08:50 UTC
From: mdv at inyourpocket dot com Assigned: yunosh
Status: Closed Package: VFS
PHP Version: 5.0.4 OS: Linux debian
Roadmaps: (Not assigned)    
Subscription  


 [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

Comments

 [2005-05-25 09:37 UTC] yunosh
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.