Req #67832 [Nab]: Remove list() construct

From: Date: Tue, 12 Aug 2014 21:40:47 +0000
Subject: Req #67832 [Nab]: Remove list() construct
References: 1  Groups: php.standards 
Request: Send a blank email to standards-+get-378@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67832&edit=1 ID: 67832 Updated by: pollita@php.net 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] aharvey@php.net Closing, per Drew. ------------------------------------------------------------------------ [2014-08-12 21:01:20] drew@php.net 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

« previous php.standards (#378) next »