ID: 43820 Updated by: [EMAIL PROTECTED] Reported By: cabrerafacundo at gmail dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: linux PHP Version: 5.2CVS-2008-01-11 (CVS) New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Turn on E_STRICT error reporting Previous Comments: ------------------------------------------------------------------------ [2008-01-11 15:45:17] cabrerafacundo at gmail dot com Description: ------------ bad parsing of parameters Reproduce code: --------------- #! /usr/bin/php <?php // bug.php exec( './hola.sh' , $output1 = array() ); print_r($output1); exec( './hola.sh' , $output2 ); print_r($output2); ?> #! /bin/sh echo hola Expected result: ---------------- both must be return Array ( [0] => hola ) Actual result: -------------- Array ( ) Array ( [0] => hola ) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43820&edit=1