3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip = getenv("REMOTE_ADDR"); // get the ip number of the user ?>

preferences:
37.1 ms | 402 KiB | 5 Q