ftp_nlist returns false for empty directory instead of empty array

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!


In an application installed with PHP5 it looks like ftp_nlist() returns  
false if the directory is empty, instead of an empty array as it should  
according to the manual. On the original server with PHP4 it works as  

Is this a bug, or an undocumented change in PHP5, or a setting that  
could be changed somewhere?

Thanks for a comment

Site Timeline