ID: 41575
Updated by: [EMAIL PROTECTED]
Reported By: vesely at tana dot it
-Status: Open
+Status: Bogus
Bug Type: Documentation problem
Operating System: Solaris
PHP Version: Irrelevant
New Comment:
It is clearly stated when those parameters where added in the docs.
Previous Comments:
------------------------------------------------------------------------
[2007-06-03 10:38:32] vesely at tana dot it
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 this bug report at http://bugs.php.net/?id=41575&edit=1