3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! $ary = array("1234.12"); $needle = "1234.120"; var_dump(in_array($needle, $ary, true));
Output for 4.3.0 - 7.1.0
bool(false)