1--TEST-- 2Testing ftp_mlsd returns false on server error 3--CREDITS-- 4Andreas Treichel <gmblar+github [at] gmail [dot] com> 5--SKIPIF-- 6<?php 7require 'skipif.inc'; 8?> 9--FILE-- 10<?php 11require 'server.inc'; 12 13$ftp = ftp_connect('127.0.0.1', $port); 14ftp_login($ftp, 'user', 'pass'); 15if (!$ftp) die("Couldn't connect to the server"); 16 17var_dump(ftp_mlsd($ftp, 'no_exists/')); 18?> 19--EXPECT-- 20bool(false) 21