Bug #72395 [Opn->Csd]: list() regression
| From: | laruence@php.net | Date: | Mon, 13 Jun 2016 16:21:50 +0000 |
| Subject: | Bug #72395 [Opn->Csd]: list() regression | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201575@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72395&edit=1
ID: 72395
Updated by: laruence@php.net
Reported by: yunosh@php.net
Summary: list() regression
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
PHP Version: 7.1Git-2016-06-13 (Git)
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of laruence@gmail.com
Revision: http://git.php.net/?p=php-src.git;a=commit;h=dcd1c29f793e36c4595257644857809d2250ec49
Log: Fixed bug #72395 (list() regression)
Previous Comments:
------------------------------------------------------------------------
[2016-06-13 12:08:53] yunosh@php.net
What actually seems to happen, is that multiple empty elements in the list() statement don't
consume all array elements: https://3v4l.org/PrRGK
------------------------------------------------------------------------
[2016-06-13 11:49:44] yunosh@php.net
Description:
------------
list(,,$x,$y) doesn't return correct values for $x.
Test script:
---------------
https://3v4l.org/8bHTs
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72395&edit=1