#35451 [Opn->Bgs]: inet_pton and inet_ntop undefined

From: Date: Mon, 28 Nov 2005 15:51:40 +0000
Subject: #35451 [Opn->Bgs]: inet_pton and inet_ntop undefined
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-89252@lists.php.net to get a copy of this message
ID: 35451 Updated by: sniper@php.net Reported By: h dot warmelink at planet dot nl -Status: Open +Status: Bogus Bug Type: Network related Operating System: WinXP PHP Version: 5.1.0 New Comment: . Previous Comments: ------------------------------------------------------------------------ [2005-11-28 16:51:17] mike@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Documentation also states that these functions are not enabled on Windows platforms. ------------------------------------------------------------------------ [2005-11-28 16:51:06] sniper@php.net RTFM ------------------------------------------------------------------------ [2005-11-28 16:41:36] h dot warmelink at planet dot nl Description: ------------ Documentation states that inet_ntop and inet_pton functions should be available in 5.1.0, but they are not (at least not on my system). Perhaps they are not yet available when using PHP on Windows? Reproduce code: --------------- if (function_exists('inet_ntop')) echo "yes!!"; else echo "no..."; Expected result: ---------------- yes!! Actual result: -------------- no... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35451&edit=1

« previous php.bugs (#89252) next »