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