We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4c189ae + 8a5fd6c commit d43879eCopy full SHA for d43879e
ext/standard/tests/streams/bug51056.phpt
@@ -4,7 +4,7 @@ Bug #51056 (fread() on blocking stream will block even if data is available)
4
<?php
5
6
$serverCode = <<<'CODE'
7
-$server = stream_socket_server('tcp://127.0.0.1:64324');
+$server = stream_socket_server('tcp://127.0.0.1:64327');
8
phpt_notify();
9
10
$conn = stream_socket_accept($server);
@@ -23,7 +23,7 @@ $clientCode = <<<'CODE'
23
24
phpt_wait();
25
26
-$fp = fsockopen("tcp://127.0.0.1:64324");
+$fp = fsockopen("tcp://127.0.0.1:64327");
27
28
while (!feof($fp)) {
29
$data = fread($fp, 256);
0 commit comments