3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $needle = '1.10'; $haystack = array('1.1'); assert(in_array($needle, $haystack) === false); assert(in_array($needle, $haystack, true) === false);
based on 3J4i3
Output for 7.0.0 - 7.2.0
Warning: assert(): assert(in_array($needle, $haystack) === false) failed in /in/Fkjdc on line 5
Output for 5.3.19 - 5.6.28
Warning: assert(): Assertion failed in /in/Fkjdc on line 5