|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #7930 list() constructor reference assignment
Submitted: 2000-11-22 12:00 UTC Modified: 2016-12-29 01:28 UTC
Avg. Score:3.2 ± 1.7
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: nathan at cjhunter dot com Assigned:
Status: Duplicate Package: Scripting Engine problem
PHP Version: * OS: *
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
9 + 34 = ?
Subscribe to this entry?

 [2000-11-22 12:00 UTC] nathan at cjhunter dot com
I request that the list() constructor be able to assign variable references from arrays. Like such..

$a = array("string1", "string2");

list($b, $c) =& $a;


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-29 18:52 UTC] nathan at cjhunter dot com
This feature request has been in the bug database for more than a year now.  Will this request ever be implemented? If so, great! Please assign it to a developer. If not, then say why and close this request.

Bug #6768 is a duplicate of thsi bug

 [2010-11-19 00:16 UTC]
-Summary: List() constructor reference assignment +Summary: list() constructor reference assignment -Package: Feature/Change Request +Package: Scripting Engine problem
 [2013-03-04 11:22 UTC]
-Operating System: Linux 2.2 +Operating System: * -PHP Version: 4.0.2 +PHP Version: *
 [2016-12-29 01:28 UTC]
-Status: Open +Status: Duplicate
 [2016-12-29 01:28 UTC]
Duplicate of bug #6768.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 12 21:01:32 2024 UTC