mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Note that shell_exec() also returns NULL when the executed command produces no output. Fixes bug #65925.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331914 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d6da6ad11e
commit
2031791c7d
1 changed files with 10 additions and 1 deletions
|
@ -38,8 +38,17 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
The output from the executed command or &null; if an error occurred.
|
||||
The output from the executed command or &null; if an error occurred or the
|
||||
command produces no output.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
This function can return &null; both when an error occurs or the program
|
||||
produces no output. It is not possible to detect execution failures using
|
||||
this function. <function>exec</function> should be used when access to the
|
||||
program exit code is required.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
|
|
Loading…
Reference in a new issue