Re: [PHP-DEV] Supplying nothing at all for default parameters

2010-04-09 Thread Lukas Kahwe Smith
On 06.04.2010, at 12:16, Richard Quadling wrote: Hello. A suggestion I would like to make is to allow for nothing to be supplied for defaulted parameters. I suppose the easiest way of describing this issue is with the following code ... ?php function foo($bar, $baz = 9, $buzz = 10)

[PHP-DEV] Supplying nothing at all for default parameters

2010-04-06 Thread Richard Quadling
Hello. A suggestion I would like to make is to allow for nothing to be supplied for defaulted parameters. I suppose the easiest way of describing this issue is with the following code ... ?php function foo($bar, $baz = 9, $buzz = 10) { return $bar $baz $buzz; } // Whatever is supplied for

Re: [PHP-DEV] Supplying nothing at all for default parameters

2010-04-06 Thread Alexey Zakhlestin
On 06.04.2010, at 14:16, Richard Quadling wrote: Hello. A suggestion I would like to make is to allow for nothing to be supplied for defaulted parameters. I suppose the easiest way of describing this issue is with the following code ... ?php function foo($bar, $baz = 9, $buzz = 10)