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:
36.92 ms | 402 KiB | 5 Q