Home
last modified time | relevance | path

Searched refs:ip2long (Results 1 – 11 of 11) sorted by relevance

/PHP-5.5/ext/standard/tests/network/
H A Dip2long_error.phpt2 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
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
[all …]
H A Dip.phpt2 ip2long() & long2ip() tests
20 var_dump($long = ip2long($ip));
24 var_dump(ip2long());
25 var_dump(ip2long(""));
26 var_dump(ip2long("777.777.777.777"));
27 var_dump(ip2long("111.111.111.111"));
28 var_dump(ip2long(array()));
51 Warning: ip2long() expects exactly 1 parameter, 0 given in %s on line %d
57 Warning: ip2long() expects parameter 1 to be string, array given in %s on line %d
H A Dip_x86_64.phpt2 ip2long() & long2ip() tests
20 var_dump($long = ip2long($ip));
24 var_dump(ip2long());
25 var_dump(ip2long(""));
26 var_dump(ip2long("777.777.777.777"));
27 var_dump(ip2long("111.111.111.111"));
28 var_dump(ip2long(array()));
51 Warning: ip2long() expects exactly 1 parameter, 0 given in %s on line %d
57 Warning: ip2long() expects parameter 1 to be string, array given in %s on line %d
H A Dip2long_variation1.phpt2 Test ip2long() function : usage variation 1
5 /* Prototype : int ip2long(string ip_address)
11 echo "*** Testing ip2long() : usage variation ***\n";
106 var_dump( ip2long($value) );
114 *** Testing ip2long() : usage variation ***
144 Error: 2 - ip2long() expects parameter 1 to be string, array given, %s(%d)
148 Error: 2 - ip2long() expects parameter 1 to be string, array given, %s(%d)
152 Error: 2 - ip2long() expects parameter 1 to be string, array given, %s(%d)
156 Error: 2 - ip2long() expects parameter 1 to be string, array given, %s(%d)
187 Error: 2 - ip2long() expects parameter 1 to be string, object given, %s(%d)
[all …]
H A Dip2long_variation2.phpt2 Test ip2long() function : usage variation 2, 32 bit
7 /* Prototype : int ip2long(string ip_address)
25 var_dump(ip2long($ip));
H A Dip2long_variation2_x64.phpt2 Test ip2long() function : usage variation 2, 64 bit
15 /* Prototype : int ip2long(string ip_address)
33 var_dump(ip2long($ip));
H A Dgethostbyname_error004.phpt13 var_dump((bool) ip2long($ip));
/PHP-5.5/ext/snmp/tests/
H A Dbug60749.phpt15 if (ip2long($ip) === FALSE) {
/PHP-5.5/ext/standard/
H A Dbasic_functions.h60 PHP_FUNCTION(ip2long);
H A Dbasic_functions.c2945 PHP_FE(ip2long, arginfo_ip2long)
3944 PHP_FUNCTION(ip2long) in PHP_FUNCTION() argument
/PHP-5.5/
H A DNEWS6445 - Fixed bug #47365 (ip2long() may allow some invalid values on certain 64bit
7132 - Fixed bug #42512 (ip2long('255.255.255.255') should return 4294967295 on
10094 - Fixed bug #29737 (ip2long should return -1 if IP is 255.255.255.255 and FALSE

Completed in 52 milliseconds