Test: /ext/standard/tests/streams/bug74090.phpt - Version 7.3.16        

Bug #74090 stream_get_contents maxlength>-1 returns empty string on windows
Submitted: 2017-02-13 05:05:04 Modified: 2017-02-13 16:54:20
From: me Assigned:
Status: Closed Package: Streams related
PHP Version: 7.1.1 OS: Windows 10 v1607

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

Count Diff
13 (93%)
001+ bool(false)
001- bool(true)
1 (7%)
001+ Warning: stream_socket_client(): unable to connect to udp://8.8.8.8:53 (Network is unreachable) in %s/bug74090.php on line 3
002+
003+ Warning: stream_set_blocking() expects parameter 1 to be resource, bool given in %s/bug74090.php on line 4
004+
005+ Warning: stream_socket_sendto() expects parameter 1 to be resource, bool given in %s/bug74090.php on line 5
006+
007+ Warning: stream_get_contents() expects parameter 1 to be resource, bool given in %s/bug74090.php on line 7
008+ bool(false)
009+
010+ Warning: stream_socket_shutdown() expects parameter 1 to be resource, bool given in %s/bug74090.php on line 9
001- bool(true)