3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = '{$foo} bar'; echo str_replace('{$foo}', 'bar', $s);
based on 87JXn
Output for 4.3.0 - 7.2.0
bar bar