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 = 3; $_ = array(011, 001, 100); var_dump(in_array($value, $_), $value === $_[0]);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
bool(true) bool(true) bool(false) bool(false)