3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = '$SERVER["REMOTE_ADDR"] = "127.0.0.1'; $trigger = ".*)/e\0"; // function to emphasize the searched word in the results preg_replace( "/($trigger)/i", '"<em>" . strtoupper($1) . "</em>"', $data ); var_dump($SERVER["REMOTE_ADDR"]);

preferences:
33.82 ms | 402 KiB | 5 Q