Req #67832 [NEW]: Remove list() construct
| From: | someone dot wanted dot to dot be dot unknown at gmail dot com | Date: | Tue, 12 Aug 2014 20:49:59 +0000 |
| Subject: | Req #67832 [NEW]: Remove list() construct | ||
| Groups: | php.standards | ||
| Request: | Send a blank email to standards-+get-375@lists.php.net to get a copy of this message | ||
From: someone dot wanted dot to dot be dot unknown at gmail dot com
Operating system: Any
PHP version: Irrelevant
Package: PHP Language Specification
Bug Type: Feature/Change Request
Bug description:Remove list() construct
Description:
------------
I propose to remove the language constructs that pretend functions, but
they are not.
List of them:
* list()
* array()
Their names can be used more profitably in the user code.
Array() is already an archaism. list() can be transformed into
something: ($a, $b, $c) = explode (':', $string);
--
Edit bug report at https://bugs.php.net/bug.php?id=67832&edit=1
--