3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array('0xa'=>true); var_dump('0xa' == '10'); var_dump(isset($a['10'])); var_dump($a);
based on PjXnS
Output for 7.0.0 - 7.2.0
bool(false) bool(false) array(1) { ["0xa"]=> bool(true) }
Output for 5.3.22 - 5.6.21
bool(true) bool(false) array(1) { ["0xa"]=> bool(true) }