3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $name = 'fooAction'; var_dump('Action' === substr($name, -1*strlen('Action')), strrpos($name, 'Action'));
Output for 4.3.0 - 7.1.0
bool(true) int(3)