Bug #66173 [Ana->Csd]: Object/Array cast loses numeric property/element accessibility
| From: | ajf@php.net | Date: | Mon, 14 Nov 2016 18:31:39 +0000 |
| Subject: | Bug #66173 [Ana->Csd]: Object/Array cast loses numeric property/element accessibility | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-205367@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66173&edit=1
ID: 66173
Updated by: ajf@php.net
Reported by: to dot yashin at gmail dot com
Summary: Object/Array cast loses numeric property/element
accessibility
-Status: Analyzed
+Status: Closed
Type: Bug
Package: Arrays related
Operating System: *
PHP Version: 5.0 to master
Assigned To: ajf
Block user comment: N
Private report: N
New Comment:
The fix for this bug has been committed.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
For Windows:
http://windows.php.net/snapshots/
Thank you for the report, and for helping us make PHP better.
Fixed by: https://wiki.php.net/rfc/convert_numeric_keys_in_object_array_casts
Previous Comments:
------------------------------------------------------------------------
[2016-10-17 07:45:00] ajf@php.net
That one was already reported as bug #72254
------------------------------------------------------------------------
[2016-10-17 02:38:52] rene at pasing dot net
There is a backwards-imcompatible thingy going on in the 7.0-branch which is related to this bug and
is not documented somewhere.
See this as an example: https://3v4l.org/tofaS
Can we somehow expect a bugfix and/or documented behaviour?
------------------------------------------------------------------------
[2016-09-24 01:12:46] ajf@php.net
Related To: Bug #71208
------------------------------------------------------------------------
[2016-08-12 12:24:50] cmb@php.net
Related To: Bug #71208
------------------------------------------------------------------------
[2016-08-12 12:22:04] cmb@php.net
Related To: Bug #70127
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=66173
--
Edit this bug report at https://bugs.php.net/bug.php?id=66173&edit=1