On Wed, Oct 29, 2008 at 12:20 AM, chris burgess <[EMAIL PROTECTED]> wrote:
> There must be a more tasteful alternative on the keyboard. I'm voting comma,
> because it's the closest thing to yummy dots.
Comma would be nice. Unfortunately, we already have functions that
take an variable number of arguments, which means something like the
following is ambiguous:
a(b, c,d)
if a is defined as:
function a (b, c, d = null) {}
Specifically, PHP won't know if you intend (namespace c, constant d)
to go into the 'c' argument or if you want just c to go into c and d
to go into d.
Dom
--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---