Home » Networking » Net_FTP » Bug #3778
Notice of Uninitialized string offset in function _rm_dir_recursive
Details
| 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) |
Comments
[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