From:             dv at josheli dot com
Operating system: Windows XP
PHP version:      4.3.1
PHP Bug Type:     Documentation problem
Bug description:  gethostbyname example confusion

"Example 1" under function 'gethostbyname' should read "gethostbyname", not
"gethostbyaddr".


gethostbyname
.....

Example 1. A simple gethostbyaddr() example

<?php
$ip = gethostbyname('www.example.com');

print $ip;
?>

See also gethostbyaddr(). 
-- 
Edit bug report at http://bugs.php.net/?id=24073&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24073&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24073&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24073&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24073&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24073&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24073&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24073&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24073&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24073&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24073&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24073&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24073&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24073&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24073&r=gnused


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to