PHP 4.0 Bug #6768: list() construct reference assignment
| From: | nathan at cjhunter dot com | Date: | Fri, 15 Sep 2000 09:28:18 +0000 |
| Subject: | PHP 4.0 Bug #6768: list() construct reference assignment | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33316@lists.php.net to get a copy of this message | ||
From: nathan@cjhunter.com
Operating system: Linux 2.2.14
PHP version: 4.0.2
PHP Bug Type: Feature/Change Request
Bug description: list() construct reference assignment
I'm requesting that that the list() construct which is an assignment construct, assign variable
references. Like such..
<?
$array = array(1, 2, 3);
list($a, $b, &$c) = $array;
?>