#42215 [Opn]: dns_get_record not defined

From: Date: Mon, 06 Aug 2007 19:04:24 +0000
Subject: #42215 [Opn]: dns_get_record not defined
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969377256@lists.php.net to get a copy of this message
ID: 42215 Updated by: jani@php.net 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

« previous php.doc (#969377256) next »