Re: [RFC] Named parameters
| From: | Johannes Schlüter | Date: | Fri, 06 Sep 2013 18:01:43 +0000 |
| Subject: | Re: [RFC] Named parameters | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-68919@lists.php.net to get a copy of this message | ||
Hi,
On Fri, 2013-09-06 at 18:39 +0200, Nikita Popov wrote:
> Hi internals!
>
> I created an RFC and preliminary implementation for named parameters:
>
> https://wiki.php.net/rfc/named_params
>
> The RFC and implementation are not yet complete. I mainly want to have
> feedback on the idea in general and on the Open Questions (
> https://wiki.php.net/rfc/named_params#open_questions) in
> particular.
From the explanation it sounds like there shouldn't be a high cost, but
as fcalls are a key operation and already quite slow I wonder if you
could share some benchmarks. (non-debug-non-tsrm-build)
A good start might be Zend/bench.php. And I understand this is not the
final patch but good to have the order of magnitude.
johannes