Domain name to IP address

get the IP address corresponding to a given Internet host name

<?php
$ipaddress = gethostbyname("www.microsoft.com");
echo "$ipaddress";
?>