--TEST-- Bug #39458 (ftp_nlist() returns false on empty directories) --EXTENSIONS-- ftp pcntl --FILE-- --EXPECT-- bool(true) array(3) { [0]=> string(5) "file1" [1]=> string(5) "file1" [2]=> string(9) "file b0rk" } array(0) { } bool(false)