signed long hash index for PHP7?

From: Date: Wed, 30 Jul 2014 02:37:34 +0000
Subject: signed long hash index for PHP7?
Groups: php.internals 
Request: Send a blank email to internals+get-76256@lists.php.net to get a copy of this message
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)

« previous php.internals (#76256) next »