[PHP-BUG] Req #67832 [NEW]: Remove list() construct
[email protected] ("someone dot wanted dot to dot be dot unknown at gmail dot com")
| Newsgroups | php.standards |
|---|---|
| Message-ID | <[email protected]> |
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
--