From:             vesely at tana dot it
Operating system: Solaris
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  proc_open expects exactly 3 parameters

Description:
------------
php issues a warning which conflicts with proc_open documentation.
(That was in version 4.4.4: In case it's already fixed please
add a version number to the bug doc - Thanx)


Reproduce code:
---------------
php -r '$r = proc_open("pwd", array(0=>array("file", "/dev/null",
"r"),1=>array("file", "/dev/null","w"),2=>array("file", "/dev/null","w")),
$pipes, NULL, NULL); if (is_resource($r)) proc_close($r);'



Expected result:
----------------
none

Actual result:
--------------
PHP Warning:  proc_open() expects exactly 3 parameters, 5 given in Command
line code on line 1


-- 
Edit bug report at http://bugs.php.net/?id=41575&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=41575&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=41575&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=41575&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=41575&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=41575&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=41575&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=41575&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=41575&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=41575&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=41575&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=41575&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=41575&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=41575&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=41575&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=41575&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=41575&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=41575&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=41575&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=41575&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=41575&r=mysqlcfg

Reply via email to