|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-11-13 10:00 UTC] kelunik@php.net
-Package: Scripting Engine problem
+Package: Streams related
[2017-11-13 10:11 UTC] kelunik@php.net
-Status: Open
+Status: Verified
[2017-11-14 06:08 UTC] remi@php.net
[2017-11-14 19:00 UTC] kelunik@php.net
[2017-11-15 10:18 UTC] kalle@php.net
-Status: Verified
+Status: Assigned
-Assigned To:
+Assigned To: pollita
[2017-11-15 10:18 UTC] kalle@php.net
[2017-11-15 14:36 UTC] remi@php.net
-Status: Assigned
+Status: Closed
[2017-11-15 14:36 UTC] remi@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ See test script. This behavior change has been introduced in PHP7.2RC6, and can be fixed by the change on 710 of main/streams/streams.c: ``` - if (!stream->wrapper || stream->wrapper->is_url) { + if (stream->wrapper != &php_plain_files_wrapper) { ``` Test script: --------------- run on the shell: php -r 'echo "ping"; stream_copy_to_stream(STDIN, STDOUT);' then type something to populate stdin, and hit "enter". On "enter", the input should be copied to the STDOUT. But on RC6, this doesn't happen until STDIN is closed. Expected result: ---------------- see test script Actual result: -------------- see test script