note 99929 deleted from function.exec by danbrown
| From: | danbrown@php.net | Date: | Wed, 15 Sep 2010 16:27:44 +0000 |
| Subject: | note 99929 deleted from function.exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-172583@lists.php.net to get a copy of this message | ||
Note Submitter: ebanuzer at gmail dot com
----
The way of florin from syneto net (25-Nov-2009 03:06)
"to initialize $output before calling exec() on the same line" is incorrect.
Don't use exec like this: exec($command, $output = array());
because $output=array() will just overwrite your application's output and you'll get
empty array.