3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( strpos('aaa@aaa.com>', array('/', '\\', '<', '>', ',', ':', ';', "\t", "\n", "\r", '"', "'", ' ')) );
Output for 5.3.1 - 5.6.30, 7.0.0 - 7.1.7
Warning: strpos(): needle is not a string or an integer in /in/lDlpY on line 4 bool(false)
Output for 5.3.0, hhvm-3.10.1 - 3.17.3
bool(false)