Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions reference/exec/functions/proc-open.xml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,15 @@
In this case the process will be opened directly (without going through a shell)
and PHP will take care of any necessary argument escaping.
</para>
<simpara>
When <parameter>command</parameter> is provided as an array and the first element
is a simple filename without directory separators, the executable is searched
using the current <envar>PATH</envar> environment variable.
</simpara>
<simpara>
If <envar>PATH</envar> is not set, the system default search paths are used, as
defined by the operating system.
</simpara>
<note>
<para>
On Windows, the argument escaping of the &array; elements assumes that the
Expand Down