| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2008-07-23 08:31 UTC] lbarnaud@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 13:00:02 2025 UTC | 
Description: ------------ gethostbynamel test ext/standard/tests/network/gethostbynamel_error.phpt should use canonical name for the "Testing gethostbynamel() with an unknown host" test: var_dump(gethostbynamel("unknownhost_zzz_xxx_yyy")); unknownhost_zzz_xxx_yyy may be expanded to unknownhost_zzz_xxx_yyy._your_local_domain_ and resolv correctly, in which case the test fails, even if it is actually not a bug. The test may use a canonical name (a dot at the end for the name), so that it will not be expanded, and never resolv: var_dump(gethostbynamel("unknownhost_zzz_xxx_yyy."));