note 94798 modified in function.exec by danbrown
| From: | danbrown@php.net | Date: | Wed, 25 Nov 2009 16:18:06 +0000 |
| Subject: | note 94798 modified in function.exec by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163275@lists.php.net to get a copy of this message | ||
A simple way to initialize $output before calling exec() on the same line:
<?php
exec($command, $output = array());
?>
--was--
A simple way to initialize $output before calling exec() on the same line:
<?php
exec($command, $output = array());
http://php.net/manual/en/function.exec.php