3v4l.org

run code in 200+ 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 - 7.1.10
string(11) "Brian_Brown"