Home
last modified time | relevance | path

Searched refs:long2ip (Results 1 – 6 of 6) sorted by relevance

/PHP-7.3/ext/standard/tests/network/
H A Dlong2ip_error.phpt2 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
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
[all …]
H A Dip.phpt2 ip2long() & long2ip() tests
21 var_dump(long2ip($long));
30 var_dump(long2ip());
31 var_dump(long2ip(-110000));
32 var_dump(long2ip(""));
33 var_dump(long2ip(array()));
60 Warning: long2ip() expects exactly 1 parameter, 0 given in %sip.php on line %d
64 Warning: long2ip() expects parameter 1 to be int, string given in %sip.php on line %d
67 Warning: long2ip() expects parameter 1 to be int, array given in %sip.php on line %d
H A Dip_x86_64.phpt2 ip2long() & long2ip() tests
21 var_dump(long2ip($long));
30 var_dump(long2ip());
31 var_dump(long2ip(-110000));
32 var_dump(long2ip(""));
33 var_dump(long2ip(array()));
60 Warning: long2ip() expects exactly 1 parameter, 0 given in %sip_x86_64.php on line %d
64 Warning: long2ip() expects parameter 1 to be int, string given in %sip_x86_64.php on line %d
67 Warning: long2ip() expects parameter 1 to be int, array given in %sip_x86_64.php on line %d
H A Dlong2ip_variation1.phpt2 Test long2ip() function : usage variation
10 /* Prototype : string long2ip(int proper_address)
16 echo "*** Testing long2ip() : usage variation ***\n";
109 var_dump( long2ip($value) );
117 *** Testing long2ip() : usage variation ***
129 Error: 2 - long2ip() expects parameter 1 to be int, array given, %slong2ip_variation1.php(%d)
133 Error: 2 - long2ip() expects parameter 1 to be int, array given, %slong2ip_variation1.php(%d)
137 Error: 2 - long2ip() expects parameter 1 to be int, array given, %slong2ip_variation1.php(%d)
141 Error: 2 - long2ip() expects parameter 1 to be int, array given, %slong2ip_variation1.php(%d)
163 Error: 2 - long2ip() expects parameter 1 to be int, string given, %slong2ip_variation1.php(%d)
[all …]
/PHP-7.3/ext/standard/
H A Dbasic_functions.h63 PHP_FUNCTION(long2ip);
H A Dbasic_functions.c2984 PHP_FE(long2ip, arginfo_long2ip)
4044 PHP_FUNCTION(long2ip) in PHP_FUNCTION() argument

Completed in 33 milliseconds