note 87800 added to function.shell-exec
| From: | dae3 at osu1 dot php dot net | Date: | Mon, 22 Dec 2008 10:53:47 +0000 |
| Subject: | note 87800 added to function.shell-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-148452@lists.php.net to get a copy of this message | ||
Beware of the following inconsistency: shell_exec() and the backtick operator will not return a
string if the command's output is empty -- they'll return NULL instead.
This will make strict comparisons to '' return false.
----
Server IP: 80.241.173.254
Probable Submitter: 88.149.235.98
----
Manual Page -- http://www.php.net/manual/en/function.shell-exec.php
Edit -- https://master.php.net/note/edit/87800
Del: integrated -- https://master.php.net/note/delete/87800/integrated
Del: useless -- https://master.php.net/note/delete/87800/useless
Del: bad code -- https://master.php.net/note/delete/87800/bad+code
Del: spam -- https://master.php.net/note/delete/87800/spam
Del: non-english -- https://master.php.net/note/delete/87800/non-english
Del: in docs -- https://master.php.net/note/delete/87800/in+docs
Del: other reasons-- https://master.php.net/note/delete/87800
Reject -- https://master.php.net/note/reject/87800
Search -- https://master.php.net/manage/user-notes.php