ID:               37433
 Updated by:       [EMAIL PROTECTED]
 Reported By:      sy at go2panel dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Network related
 Operating System: RHEL 4.0
 PHP Version:      5.1.4
 New Comment:

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

They do not use the same system functions or libraries.

Please keep this bug as bogus and check the sources before doing any
further comments.


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

[2006-05-14 15:54:48] sy at go2panel dot com

I do not see a logical explanation WHERE
php version = 5.1.4 AND
gethostbyname is working AND
dns_get_record is NOT

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

[2006-05-14 13:00:51] [EMAIL PROTECTED]

This function doesn't depend on configure options and enabled when
possible.


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

[2006-05-14 02:30:29] sy at go2panel dot com

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.




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


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

Reply via email to