3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(strpos('test', 'e', -1)); var_dump(strpos('test', 'e', 1));
based on RFBkf
Output for 7.1.0 - 7.3.0alpha1
bool(false) int(1)
Output for 5.3.22 - 7.0.20
Warning: strpos(): Offset not contained in string in /in/S26aG on line 3 bool(false) int(1)