Edit report at https://bugs.php.net/bug.php?id=67832&edit=1
ID: 67832
Updated by: [email protected]
Reported by: someone dot wanted dot to dot be dot unknown at
gmail dot com
Summary: Remove list() construct
Status: Not a bug
Type: Feature/Change Request
Package: PHP Language Specification
Operating System: Any
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
Also, this won't pass.
You can try proposing it in the right channels, but it'll fail.
Previous Comments:
------------------------------------------------------------------------
[2014-08-12 21:04:40] [email protected]
Closing, per Drew.
------------------------------------------------------------------------
[2014-08-12 21:01:20] [email protected]
The PHP Language Specification is intended to be a normative document that describes what the PHP language currently is and the requirements that a PHP engine must meet to be considered compliant with the PHP language version 5.6.
Opening a bug/request to modify the spec is not the right channel to request changes to the PHP language. Proposals to change the PHP language are typically handled through php.net's RFC process. If you go to https://wiki.php.net/rfc you'll see existing RFCs that have been proposed, and https://wiki.php.net/rfc/howto gives instructions on how to propose a language change via an RFC.
------------------------------------------------------------------------
[2014-08-12 20:49:59] someone dot wanted dot to dot be dot unknown at gmail dot com
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 this bug report at https://bugs.php.net/bug.php?id=67832&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.