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)
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
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)