|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-04-24 21:11 UTC] requinix@php.net
-Status: Open
+Status: Verified
[2019-04-24 21:11 UTC] requinix@php.net
[2019-04-24 22:03 UTC] cmb@php.net
-Package: Streams related
+Package: Testing related
-Assigned To:
+Assigned To: cmb
[2019-04-24 22:03 UTC] cmb@php.net
[2019-04-24 22:09 UTC] cmb@php.net
[2019-04-24 22:09 UTC] cmb@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 09 17:00:01 2025 UTC |
Description: ------------ Failed regardless of OPCache being enabled or disabled and if it was TS or NTS. Test file location: ext\standard\tests\stream\stream_context_tcp_nodelay_fopen.phpt Test script: --------------- $ctxt = stream_context_create([ "socket" => [ "tcp_nodelay" => true ] ]); $stream = fopen("http://www.php.net", "r", false, $ctxt); $socket = @socket_import_stream($stream); var_dump(socket_get_option($socket, STREAM_IPPROTO_TCP, TCP_NODELAY) > 0); Expected result: ---------------- bool(true) Actual result: -------------- Warning: socket_get_option() expects parameter 1 to be resource, boolean given in... bool(false)