Re: A remark about PHP's Vision and new things.
| From: | Stas Malyshev | Date: | Fri, 11 Jan 2013 19:06:22 +0000 |
| Subject: | Re: A remark about PHP's Vision and new things. | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64865@lists.php.net to get a copy of this message | ||
Hi!
> To make sure we are not providing a somewhat cumbersome
> implementation, let’s start tackling named parameters first. It’s
> another long standing feature. We will most likely need named
> parameters for convenient annotations anyway. We have an (really old)
> RFC for that: https://wiki.php.net/rfc/namedparameters.
That RFC is not really an RFC but rather a short note. There are tons of
stuff that need to be covered for this to be considered a workable
proposal. And as somebody who had tried to implement default parameters
(much smaller task) - not finished yet due to lack of time - I must warn
you the implementation of it may be harder than you think, especially if
you consider how it is supposed to work with internal functions, etc.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227