From: developer-support at allknightaccess dot com Operating system: Mac OS 10.4.10, Apache 2.2.4 PHP version: 5.2.4RC1 PHP Bug Type: HTTP related Bug description: dns_get_record not defined
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 bug report at http://bugs.php.net/?id=42215&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42215&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42215&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42215&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=42215&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=42215&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=42215&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=42215&r=needscript Try newer version: http://bugs.php.net/fix.php?id=42215&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=42215&r=support Expected behavior: http://bugs.php.net/fix.php?id=42215&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=42215&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=42215&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=42215&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42215&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=42215&r=dst IIS Stability: http://bugs.php.net/fix.php?id=42215&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=42215&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=42215&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=42215&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=42215&r=mysqlcfg