Skip to content

Commit c1f8c2e

Browse files
committed
Fix #69290: Invalid modes do not trigger errors
1 parent 60c3912 commit c1f8c2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reference/exec/functions/proc-open.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
element is either <literal>r</literal> to pass the read end of the pipe
9696
to the process, or <literal>w</literal> to pass the write end) and
9797
<literal>file</literal> (the second element is a filename).
98+
Note that anything else than <literal>w</literal> is treated like <literal>r</literal>.
9899
</member>
99100
<member>
100101
A stream resource representing a real file descriptor (e.g. opened file,

0 commit comments

Comments
 (0)