3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "/var/planminev3/parsedDWGs/3ffnw96fhqby972h67w7cxyndppk5w20/ag-001-fpv1.svg"; $splode = explode("/",$str); $sploded = end($splode); var_dump($sploded);
based on bjAjY
Output for 4.3.0 - 7.2.0
string(15) "ag-001-fpv1.svg"