Bug #69247 [Opn]: Arrays in classes can't have more than 32767 items
| From: | laruence@php.net | Date: | Tue, 17 Mar 2015 13:08:47 +0000 |
| Subject: | Bug #69247 [Opn]: Arrays in classes can't have more than 32767 items | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-191427@lists.php.net to get a copy of this message | ||
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
Type: Bug
Package: Compile Failure
Operating System: Windows
PHP Version: 5.6.6
Block user comment: N
Private report: N
New Comment:
struct _zend_ast {
unsigned short kind;
unsigned short children; <----
I don't think fix this is okey due to ABI BC break....
:<
Previous Comments:
------------------------------------------------------------------------
[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