|  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 Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-07-30 15:55 UTC] rasmus
This has been implemented now
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Dec 02 08:01:29 2023 UTC