Re: [RFC] Skipping parameters take 2
| From: | Yasuo Ohgaki | 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 internals+get-80713@lists.php.net to get a copy of this message | ||
Hi all,
On Fri, Jan 16, 2015 at 7:29 PM, Patrick Schaaf <php@bof.de> wrote:
> Am 14.01.2015 20:50 schrieb "Simon J Welsh" <simon@welsh.co.nz>:
> >
> > > 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
yohgaki@ohgaki.net