Hi all,

Take a look at

http://3v4l.org/HbVnd

foreach should not affect internal(zval) array position, but it does.
I'm not sure why foreach works this way, but HHVM behavior is
reasonable. IMHO.

PHP 7 would be perfect opportunity fix this behavior.
Any comments?

Regards,

--
Yasuo Ohgaki
yohg...@ohgaki.net

Reply via email to