3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $tmp = "Hello {username}"; str_replace('{username}', 'David', $tmp); echo $tmp;
based on VQ8mP
Output for 5.6.0 - 7.3.0beta1
Hello {username}