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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: explorer-php3 at flame dot org
New email:
PHP Version: OS:

 

 [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: Sat Dec 14 15:01:27 2024 UTC