|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-01-12 10:45 UTC] bjori@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 10:00:01 2025 UTC |
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 )