3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.freevampires.net/fantasy/Steel_s_Edge/'; preg_replace('(.)$)', '/index', $url); echo $url; ?>
based on 48o2P
Output for 5.6.0 - 7.3.0rc3
Warning: preg_replace(): Unknown modifier '$' in /in/CjoQY on line 3 http://www.freevampires.net/fantasy/Steel_s_Edge/