3v4l.org

run code in 200+ 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.2.0
bool(true) int(3)