FAQ
Commit: 361e984e462de5422bba5470d3961e67de327396
Author: ptarjan <ptarjan@fb.com> Thu, 26 Sep 2013 01:06:36 -0700
Parents: ecbe4af0de94c629fa5ba8ab169654e00c958bad
Branches: master

Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=361e984e462de5422bba5470d3961e67de327396

Log:
fix missing change from 'tcp_socket' to the more common 'server'

Changed paths:
   M ext/standard/tests/file/fread_socket_variation1.phpt


Diff:
diff --git a/ext/standard/tests/file/fread_socket_variation1.phpt b/ext/standard/tests/file/fread_socket_variation1.phpt
index f5086ce..d65565d 100644
--- a/ext/standard/tests/file/fread_socket_variation1.phpt
+++ b/ext/standard/tests/file/fread_socket_variation1.phpt
@@ -12,11 +12,11 @@ for ($i=0; $i<100; $i++) {
    }
  }

-socket_set_timeout($tcp_socket, 0, 1000);
+socket_set_timeout($server, 0, 1000);

-var_dump(fread($tcp_socket, 1));
+var_dump(fread($server, 1));

-fclose($tcp_socket);
+fclose($server);

  ?>
  --EXPECT--

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-cvs @
categoriesphp
postedSep 26, '13 at 8:24p
activeSep 26, '13 at 8:24p
posts1
users1
websitephp.net

1 user in discussion

Sara Golemon: 1 post

People

Translate

site design / logo © 2019 Grokbase