3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(preg_replace('/(<centername>)/', "testing", " this is a test but it is <centername> not working"));
Output for 4.3.0 - 7.1.0
string(49) " this is a test but it is testing not working"