3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $value = 42754; $_ = array(0xA702, 0xA701, 0xA700); var_dump(in_array($value, $_), $value === $_[0]); $value = 9; $_ = array(00011, 00001, 00100); var_dump(in_array($value, $_), $value === $_[0], $_[0], $_[1]);
Output for 4.3.0 - 7.1.0
bool(true) bool(true) bool(true) bool(true) int(9) int(1)