ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#43820 [Opn->Bgs]: bad function argumentes parsing
by bjori other posts by this author
Jan 12 2008 2:45AM messages near this date
#43820 [NEW]: bad function argumentes parsing | #43819 [NEW]: php loosing local session.save_path
ID:               43820
 Updated by:       bjori@[...].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
Thread:
Cabrerafacundo At Gmail Dot Com
bjori

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved