Nope
On Fri, Jan 9, 2009 at 12:44 PM, Wade Preston Shearer <
[email protected]> wrote:
> Consider the following code:
>
> function do_something_awesome($a = 'a', $b = 'b') {}
>
>
> I have set defaults for the variables that the function accepts. I can
> override the defaults, like this:
>
> do_something_awesome('c', 'd');
>
>
> …or…
>
> $a = 'c';
> $b = 'd';
> do_something_awesome($a, $b);
>
>
> And, I can passing in the first while letting the second use the default,
> like this:
>
> do_something_awesome('c');
>
>
> But what if I only want to pass in the second variable? Is that possible?
>
> _______________________________________________
>
> UPHPU mailing list
> [email protected]
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net