#43820 [Opn->Bgs]: bad function argumentes parsing
| From: | bjori@php.net | Date: | Sat, 12 Jan 2008 10:45:01 +0000 |
| Subject: | #43820 [Opn->Bgs]: bad function argumentes parsing | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121214@lists.php.net to get a copy of this message | ||
ID: 43820
Updated by: bjori@php.net
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