IPアドレスからホスト名を取得するには、gethostbyaddr()関数を使用します。

<?php
echo gethostbyaddr('74.125.235.175');
?>

◆実行結果
www.google.co.jp

[対象]
PHP 5.x