|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-05-14 13:00 UTC] tony2001@php.net
[2006-05-14 15:54 UTC] sy at go2panel dot com
[2006-05-14 16:01 UTC] pajoye@php.net
[2006-05-14 16:42 UTC] sy at go2panel dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 23:00:01 2025 UTC |
Description: ------------ PHP 5.1.4 is compiled with minimum options using --disable-all Function dns_get_record() gives this error: PHP Fatal error: Call to undefined function dns_get_record() in Here is CODE: ================= echo phpversion() ."\n"; echo gethostbyname('damla.net') ."\n"; var_dump(dns_get_record('damla.net')) ."\n"; die(); Here is OUTPUT: =============== 5.1.4 216.71.156.144 PHP Fatal error: Call to undefined function dns_get_record() in Reproduce code: --------------- echo phpversion() ."\n"; echo gethostbyname('damla.net') ."\n"; var_dump(dns_get_record('damla.net')) ."\n"; die(); Expected result: ---------------- dns_get_record() should be defined OR Enable directive to enable it should be document, apparently disabled by --disable-all I have tested the same thing using 5.1.2 WITHOUT --disable-all and it works.