3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump( strrpos('pie', 'i', 0), strrpos('pie', 'i', -1), strrpos('pie', 'i', -2) );
Output for 5.0.0 - 7.1.0
int(1) int(1) int(1)
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for strrpos() in /in/NZlKP on line 4 Warning: Wrong parameter count for strrpos() in /in/NZlKP on line 5 Warning: Wrong parameter count for strrpos() in /in/NZlKP on line 6 NULL NULL NULL