#33149 [NEW]: function inet_pton unavailable

From: Date: Thu, 26 May 2005 10:02:02 +0000
Subject: #33149 [NEW]: function inet_pton unavailable
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-79539@lists.php.net to get a copy of this message
From: h dot warmelink at planet dot nl Operating system: Windows XP PHP version: 5CVS-2005-05-26 (dev) PHP Bug Type: Network related Bug description: function inet_pton unavailable Description: ------------ In the last couple of days the documentation on inet_pton has changed. It now states that PHP5 supports this function, but the function seems unavailable. However, the direct use of inet_pton does not result in an error. Reproduce code: --------------- if (function_exists('inet_pton')) echo "yes!"; else echo "no..."; Expected result: ---------------- yes! Actual result: -------------- no... -- Edit bug report at http://bugs.php.net/?id=33149&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33149&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33149&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33149&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33149&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33149&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33149&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33149&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33149&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33149&r=support Expected behavior: http://bugs.php.net/fix.php?id=33149&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33149&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33149&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33149&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33149&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33149&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33149&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33149&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33149&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33149&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33149&r=mysqlcfg

« previous php.bugs (#79539) next »