Re: [RFC] Skipping parameters take 2
| From: | Marcio Almada | Date: | Sun, 18 Jan 2015 01:52:28 +0000 |
| Subject: | Re: [RFC] Skipping parameters take 2 | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-80715@lists.php.net to get a copy of this message | ||
> Cryptic notation is not a PHP way. IMHO.I like original "default" proposal and it is
> good enough.
> Regards,
When I suggested
_ it was more as a feature wandering. I like
default too. The RFC looks good enough as it is now :)
2015-01-17 22:14 GMT-03:00 Yasuo Ohgaki <yohgaki@ohgaki.net>:
> 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