Re: [RFC] Skipping parameters take 2

From: Date: Sun, 18 Jan 2015 01:14:14 +0000
Subject: Re: [RFC] Skipping parameters take 2
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi all,

On Fri, Jan 16, 2015 at 7:29 PM, Patrick Schaaf <[email protected]> wrote:

> Am 14.01.2015 20:50 schrieb "Simon J Welsh" <[email protected]>:
> >
> > >    create_query("deleted=0", "name", _, _, true);
> > >
> > > Still not sure if it's better than default, though.
> >
> > That would be a BC break as you can currently have a constant _.
>
> A visually pleasing (IMO), even easier to type, and non-BC alternative,
> could be using a dash:
>
> create_query("deleted=0", "name", -, -, true);
>

Cryptic notation is not a PHP way. IMHO.
I like original "default" proposal and it is good enough.

Regards,

--
Yasuo Ohgaki
[email protected]


Thread (69 messages)

« previous php.internals (#80713) next »