3v4l.org

run code in 300+ PHP versions simultaneously
<?php $response = "https://test"; echo preg_replace("/https/","http",$response);

preferences:
54.15 ms | 402 KiB | 5 Q