Re: [RFC][VOTE] Allow specifying keys in list()
| From: | S.A.N | Date: | Fri, 12 Feb 2016 13:37:34 +0000 |
| Subject: | Re: [RFC][VOTE] Allow specifying keys in list() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-91219@lists.php.net to get a copy of this message | ||
Often all keys are unknown, or a very lot keys, use list(...) - is unreal.
I would like to, instead <?php
foreach($params as $key => $value)
{
$this{$key} = $value
}
Use the short syntax sugar <?php
$this += $params
?>
It's really do?