Re: RFC Skipping optional parameters for functions
| From: | Stas Malyshev | Date: | Tue, 29 May 2012 00:29:29 +0000 |
| Subject: | Re: RFC Skipping optional parameters for functions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60685@lists.php.net to get a copy of this message | ||
On 5/27/12 10:27 AM, Mathias Grimm wrote:
> in response to https://wiki.php.net/rfc/skipparams I want to
> suggest
> something as depicted below:
>
> function very_long_params(name:$n, age:$a, other:$o)
The goal of this proposal is not to introduce named parameters. If we
ever do introduce named parameters, the names will probably be the same
as variables, and would use $ as the rest of PHP variables do.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227