3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $title = '/home/nasann/public_html/wp-content/uploads/2014/03/bf4ff9b544.png'; echo preg_replace('/^'.preg_quote('/home/nasann/public_html/', '/') . '/', '', $title);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
wp-content/uploads/2014/03/bf4ff9b544.png