note 94798 deleted from function.exec by cmb
| From: | cmb@php.net | Date: | Fri, 15 May 2015 19:49:38 +0000 |
| Subject: | note 94798 deleted from function.exec by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-202564@lists.php.net to get a copy of this message | ||
Note Submitter: florin from syneto net
----
A simple way to initialize $output before calling exec() on the same line:
<?php
exec($command, $output = array());
?>