Test: /ext/standard/tests/streams/bug73457.phpt - Version 7.2.12        

Bug #73457 Wrong error message when fopen FTP wrapped fails to open data connection
Submitted: 2016-11-04 08:11:22 Modified: 2016-11-28 17:59:41
From: martin Assigned:
Status: Closed Package: Streams related
PHP Version: 7.0.12 OS: Any

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
001+ Warning: file_get_contents(): ftp:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug73457.php on line 8
002+
003+ Warning: file_get_contents(ftp://127.0.0.1:60463/bug73457): failed to open stream: no suitable wrapper could be found in %s/bug73457.php on line 8
001- Warning: file_get_contents(ftp://127.0.0.1:%d/bug73457): failed to open stream: Failed to set up data channel: Connection refused in %s on line %d
006+
007+ Warning: stream_socket_accept(): accept failed: Interrupted system call in /home/susan/php-7.2.12/ext/ftp/tests/server.inc on line 96
008+ Error accepting a new connection
1 (50%)
001+ ** ERROR: process timed out **
001- Warning: file_get_contents(ftp://127.0.0.1:%d/bug73457): failed to open stream: Failed to set up data channel: Connection refused in %s on line %d
002- bool(false)
003- ==DONE==