3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(in_array(0, array('00'))); var_dump(in_array('00', array(0))); var_dump(in_array(0, array('0x0'))); var_dump(in_array('0x0', array(0)));
based on VVcqt
Output for 4.3.0 - 7.1.0
bool(true) bool(true) bool(true) bool(true)