3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = 'http://localhost/project-1/uploaded_images/output//11-03-2013+11-09-2013/Brian_Brown_completed.jpg'; $test = basename($url, '_completed.jpg'); var_dump($test);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(11) "Brian_Brown"