ID:               42215
 Updated by:       [EMAIL PROTECTED]
 Reported By:      developer-support at allknightaccess dot com
 Status:           Open
-Bug Type:         HTTP related
+Bug Type:         Documentation problem
 Operating System: Mac OS 10.4.10, Apache 2.2.4
 PHP Version:      5.2.4RC1
 New Comment:

Reclassified. This function is not available on *BSD systems. And IIRC,
MacOSX is based on *BSD. Docs need to mention it though..


Previous Comments:
------------------------------------------------------------------------

[2007-08-06 02:43:45] developer-support at allknightaccess dot com

Description:
------------
The function dns_get_record is not being defined on Mac OS 10.4.10.

Reproduce code:
---------------
<?php
$result = dns_get_record("php.net");
print_r($result);
?>

Expected result:
----------------
Array
(
    [0] => Array
        (
            [host] => php.net
            [type] => MX
            [pri] => 5
            [target] => pair2.php.net
            [class] => IN
            [ttl] => 6765
        )

    [1] => Array
        (
            [host] => php.net
            [type] => A
            [ip] => 64.246.30.37
            [class] => IN
            [ttl] => 8125
        )

)

Actual result:
--------------
Fatal error: Call to undefined function dns_get_record() 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42215&edit=1

Reply via email to