Bug #69247 [Ana->Dup]: Arrays in classes can't have more than 32767 items
Edit report at https://bugs.php.net/bug.php?id=69247&edit=1
ID: 69247
Updated by: nikic@php.net
Reported by: david at grudl dot com
Summary: Arrays in classes can't have more than 32767 items
-Status: Analyzed
+Status: Duplicate
Type: Bug
Package: Compile Failure
Operating System: Windows
PHP Version: 5.6.6
Block user comment: N
Private report: N
New Comment:
Duplicate of https://bugs.php.net/bug.php?id=68057.
And yes, I agree that we probably can't fix that one in PHP 5.6.
Previous Comments:
------------------------------------------------------------------------
[2015-03-17 13:55:49] laruence@php.net
I'd like mark this as won't fix , and master(php7) works fine... objections?
------------------------------------------------------------------------
[2015-03-17 13:08:47] laruence@php.net
struct _zend_ast {
unsigned short kind;
unsigned short children; <----
I don't think fix this is okey due to ABI BC break....
:<
------------------------------------------------------------------------
[2015-03-17 12:06:28] david at grudl dot com
Description:
------------
When an array defined in class (static or non-static) contains more than 32767 items with string
keys, its content is silently discarded.
This bug affects all 5.6.x releases.
Test script:
---------------
https://gist.github.com/dg/e785ed8fcef9ee0d5141
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=69247&edit=1
Thread (5 messages)