3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array(1,2,3); var_dump(strpos('123', $array));
Output for 5.3.1 - 7.2.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
bool(false)