Re: [RFC] Fast Parameter Parsing API
| From: | Bob Weinand | Date: | Fri, 23 May 2014 12:23:44 +0000 |
| Subject: | Re: [RFC] Fast Parameter Parsing API | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74446@lists.php.net to get a copy of this message | ||
Am 23.5.2014 um 13:36 schrieb Dmitry Stogov <dmitry@zend.com>:
> Please take a look at https://wiki.php.net/rfc/fast_zpp
>
> Thanks. Dmitry.
I just wanted to discuss here too, if we prefer:
for +: Z_PARAM_VARIADIC('+', dest, num)
for *: Z_PARAM_VARIADIC('*', dest, num)
or more:
for +: Z_PARAM_VARIADIC_EX(dest, num, minimum_necessary) (Set minimum_necessary to 1 for original
'+' behaviour)
for *: Z_PARAM_VARIADIC(dest, num)
We weren't sure if the latter might confuse users of it, so...
I personally prefer the latter… The first is just inconsistent. We everywhere abolish these chars
to indicate params and just there we leave them? Makes no sense to me...
Bob