|
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] [email protected]
-Package: Scripting Engine problem
+Package: Streams related
[2017-11-13 10:11 UTC] [email protected]
-Status: Open
+Status: Verified
[2017-11-14 06:08 UTC] [email protected]
[2017-11-14 19:00 UTC] [email protected]
[2017-11-15 10:18 UTC] [email protected]
-Status: Verified
+Status: Assigned
-Assigned To:
+Assigned To: pollita
[2017-11-15 10:18 UTC] [email protected]
[2017-11-15 14:36 UTC] [email protected]
-Status: Assigned
+Status: Closed
[2017-11-15 14:36 UTC] [email protected]
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Mar 17 11:00:01 2026 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