diff --git a/ext/ftp/tests/ftp_connect_001.phpt b/ext/ftp/tests/ftp_connect_001.phpt new file mode 100644 index 0000000000000..6d155b2b8eead --- /dev/null +++ b/ext/ftp/tests/ftp_connect_001.phpt @@ -0,0 +1,12 @@ +--TEST-- +ftp_connect - return FALSE if connection fails and Waning is generated +--EXTENSIONS-- +ftp +--FILE-- + +--EXPECTF-- +Warning: ftp_connect(): php_network_getaddresses: getaddrinfo for dummy-host-name failed: %s in %s on line %d +bool(false)