3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = 'the quick brown fox jumps over the lazy dog.'; echo preg_replace('/the/', 'That', $str, 1); ?>

preferences:
39.14 ms | 402 KiB | 5 Q