ID: 2285
Updated by: jimw
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Assigned To:
Comments:
refiled against 4.0. (although you can just pass an array to get named-parameters-like
behavior.)
Previous Comments:
---------------------------------------------------------------------------
[2000-08-17 10:40:16] [EMAIL PROTECTED]
or maybe at least foo("wow",,"bar") as in list()
---------------------------------------------------------------------------
[1999-09-12 23:51:41] [EMAIL PROTECTED]
when I develop apps, I tend to add more and more arguments
to my functions giving them default values for backward
compatibility. but as soon as your function has more than
14 arguments :) it gets very tiring to write them all...
it would be great if you could specify WHICH arguments you
want to pass to the function... like:
function foo($arg1, $arg2 = 0, $arg3 = "none")
{
...
}
foo("wow", $arg3 => "bar");
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=2285&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]