signed long hash index for PHP7?
Hi all,
Current Zend hash uses ulong for numeric array indexes.
This causes bug #67693
https://bugs.php.net/bug.php?id=67693
Signed/unsigned mismatch is the root cause of this bug.
Since PHP's int is signed by default, it might be better
to change Zend hash index to signed long.
I would like to hear comments who understand Zend internals. If there aren't
issues, we may have signed long index for PHP7.
I also would like to hear comments for possible fix in released versions.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net
Thread (7 messages)