Lines Matching refs:gethostbynamel
2 Test gethostbynamel() function : error conditions
5 /* Prototype : proto array gethostbynamel(string hostname)
11 echo "*** Testing gethostbynamel() : error conditions ***\n";
14 echo "\n-- Testing gethostbynamel() function with Zero arguments --\n";
15 var_dump( gethostbynamel() );
17 //Test gethostbynamel with one more than the expected number of arguments
18 echo "\n-- Testing gethostbynamel() function with more than expected no. of arguments --\n";
21 var_dump( gethostbynamel($hostname, $extra_arg) );
25 *** Testing gethostbynamel() : error conditions ***
27 -- Testing gethostbynamel() function with Zero arguments --
29 Warning: gethostbynamel() expects exactly 1 parameter, 0 given in %s on line %d
32 -- Testing gethostbynamel() function with more than expected no. of arguments --
34 Warning: gethostbynamel() expects exactly 1 parameter, 2 given in %s on line %d