3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(preg_replace('/(<centername>)/', "testing", " this is a test but it is <centername> not working"));

preferences:
52.33 ms | 402 KiB | 5 Q