3v4l.org

run code in 300+ PHP versions simultaneously
<!DOCTYPE html> <html> <body> <?php echo substr_replace("0502","/",2,0); // 0 will start replacing at the first character in the string ?> </body> </html>

preferences:
36.22 ms | 402 KiB | 5 Q