3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = '#$event'; $n = str_replace('$event', 'asd', $s); echo $s;
based on 7JjpC
Output for 5.3.20 - 7.2.0
#$event