Bug #69247 [Opn->Ana]: 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: laruence@php.net
Reported by: david at grudl dot com
Summary: Arrays in classes can't have more than 32767 items
-Status: Open
+Status: Analyzed
Type: Bug
Package: Compile Failure
Operating System: Windows
PHP Version: 5.6.6
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[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)