<?php $s = '{$foo} bar'; echo str_replace('{$foo}', 'bar', $s);
You have javascript disabled. You will not be able to edit any code.