3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $foo = "abc abc abc"; var_dump(strrpos($foo, 'abc', 7)); var_dump(strrpos($foo, 'abc', -3));
Output for 5.0.0 - 5.6.38, hhvm-3.10.1, hhvm-3.17.3 - 3.22.0, 7.0.0 - 7.3.0rc3
int(8) int(8)
Output for hhvm-3.15.4
int(8) int(8)
Process exited with code 137.
Output for hhvm-3.11.1 - 3.13.2

Process exited with code 137.
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for strrpos() in /in/EGDqC on line 5 NULL Warning: Wrong parameter count for strrpos() in /in/EGDqC on line 6 NULL