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

Bug #3778 Notice of Uninitialized string offset in function _rm_dir_recursive
Submitted: 2005-03-11 16:05 UTC
From: charles at acolytecommunication dot com Assigned: toby
Status: Closed Package: Net_FTP
PHP Version: 4.3.10 OS: Windows XP SP2
Roadmaps: (Not assigned)    
Subscription  


 [2005-03-11 16:05 UTC] charles at acolytecommunication dot com
Description: ------------ Notice: Uninitialized string offset: 0 in D:\Projets\MaisonRRPlus\application\lib\Net\FTP.php on line 1891 The emptyness should be tested before trying to use that string I think. Only generates a notice, not an error and not even a warning but still... Reproduce code: --------------- kinda a hard to reproduce being and error using a remote service. I think the error mostly lies in the way the result of the ls command is handled. Expected result: ---------------- The function should either return an error or, at least, handle this more gracefully. Actual result: -------------- A notice is generated : Notice: Uninitialized string offset: 0 in D:\Projets\MaisonRRPlus\application\lib\Net\FTP.php on line 1891

Comments

 [2005-03-31 19:43 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!