php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #387 gethostbyname() should return a list
Submitted: 1998-05-19 03:11 UTC Modified: 1998-07-30 15:55 UTC
From: explorer-php3 at flame dot org Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0 Release Candidate 4 OS: NetBSD/i386-current
Private report: No CVE-ID: None
 [1998-05-19 03:11 UTC] explorer-php3 at flame dot org
gethostbyname() only returns the first IP address found
when searching for a host by name.  It should return a
list of IPs, not just the first one.

It would also be nice to have a way to look up MX records,
and so on, but that is another issue.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-30 15:55 UTC] rasmus
This has been implemented now
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 06:01:30 2024 UTC