3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'evacuation/geoff'; $b = substr( strrchr( $a, '/' ), 1 );; echo $b;
based on LMV3h
Output for 4.3.0 - 7.2.0
geoff