ip address in php

ip address in php
 <?php
echo $_SERVER['REMOTE_ADDR'];
?>