3v4l.org

run code in 300+ PHP versions simultaneously
<?php $search="kiwi#phpinfo()"; $testString = $search."<img src='".$search.".png'>"; echo $testString; $text = preg_replace("/".$search."/", $testString, "kiwi"); echo $text; ?>

preferences:
76.25 ms | 402 KiB | 5 Q