3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array(1,2,3); var_dump(strpos('123', $array));
Output for 5.3.1 - 5.6.28, 7.0.0 - 7.1.0
Warning: strpos(): needle is not a string or an integer in /in/P63cb on line 3 bool(false)
Output for 4.3.0 - 5.3.0, hhvm-3.10.0 - 3.12.0
bool(false)