Lines Matching refs:ip2long
2 Test ip2long() function : error conditions
5 /* Prototype : int ip2long(string ip_address)
11 echo "*** Testing ip2long() : error conditions ***\n";
14 echo "\n-- Testing ip2long() function with Zero arguments --\n";
15 var_dump( ip2long() );
17 //Test ip2long with one more than the expected number of arguments
18 echo "\n-- Testing ip2long() function with more than expected no. of arguments --\n";
21 var_dump( ip2long($ip_address, $extra_arg) );
26 *** Testing ip2long() : error conditions ***
28 -- Testing ip2long() function with Zero arguments --
30 Warning: ip2long() expects exactly 1 parameter, 0 given in %s on line %d
33 -- Testing ip2long() function with more than expected no. of arguments --
35 Warning: ip2long() expects exactly 1 parameter, 2 given in %s on line %d