3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string ='1953 BENTLEY '; echo preg_replace('BENTLEY', 'Bentley', $string);

preferences:
31.54 ms | 402 KiB | 5 Q