php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #49891 getmxrr() function doesn't exist
Submitted: 2009-10-15 15:59 UTC Modified: 2009-10-27 01:00 UTC
From: oscar at acelerados dot com Assigned:
Status: No Feedback Package: Network related
PHP Version: 5.3.0 OS: CentOS release 5.3 (Final)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
18 + 30 = ?
Subscribe to this entry?

 
 [2009-10-15 15:59 UTC] oscar at acelerados dot com
Description:
------------
The getmxrr() function doesn't exist.

Reproduce code:
---------------
getmxrr("hotmail.com",$mxhost);
print_r($mxhost);

Expected result:
----------------
Array ( [0] => mx2.hotmail.com [1] => mx3.hotmail.com [2] => mx4.hotmail.com [3] => mx1.hotmail.com ) 

Actual result:
--------------
Fatal error: Call to undefined function getmxrr() in /home/user/file.php on line 1

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-10-15 16:19 UTC] chrisstocktonaz at gmail dot com
Can you please post the output of phpinfo().
 [2009-10-19 10:31 UTC] jani@php.net
Please try using this snapshot:

  http://snaps.php.net/php5.3-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/

I have exactly same distro and all dns funcs work fine. 
 [2009-10-27 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 17:01:30 2024 UTC