diff --git a/reference/exec/functions/proc-open.xml b/reference/exec/functions/proc-open.xml index 35e0a3edbf39..f6e85be8f13c 100644 --- a/reference/exec/functions/proc-open.xml +++ b/reference/exec/functions/proc-open.xml @@ -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. + + When command is provided as an array and the first element + is a simple filename without directory separators, the executable is searched + using the current PATH environment variable. + + + If PATH is not set, the system default search paths are used, as + defined by the operating system. + On Windows, the argument escaping of the &array; elements assumes that the