Bug #72943 [Opn->Csd]: assign_dim on string doesn't reset hval
| From: | laruence@php.net | Date: | Fri, 26 Aug 2016 10:33:21 +0000 |
| Subject: | Bug #72943 [Opn->Csd]: assign_dim on string doesn't reset hval | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-203566@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=72943&edit=1
ID: 72943
Updated by: laruence@php.net
Reported by: guy_theuws at hotmail dot com
Summary: assign_dim on string doesn't reset hval
-Status: Open
+Status: Closed
Type: Bug
Package: *General Issues
Operating System: Windows Professional 10
PHP Version: 7.1.0beta3
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=c67fa3c91d314fd932fa1c921497fe3e6a968785
Log: Fixed bug #72943 (assign_dim on string doesn't reset hval)
Previous Comments:
------------------------------------------------------------------------
[2016-08-26 08:59:52] guy_theuws at hotmail dot com
Description:
------------
PHP reference error when using loop with array. Has something to do with the 'substring'
usage $string[$i] = "test";
SO question: http://stackoverflow.com/questions/39123586/php-7-arrays-undefined-index-bug-or-works-as-designed
Test script:
---------------
https://3v4l.org/YANSb
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=72943&edit=1