Home
last modified time | relevance | path

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

/PHP-7.0/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 Dbug55472.phpt2 Bug #55472 (ip2long(integer) returns integer)
5 var_dump(ip2long(26));
H A Dip2long_variation2.phpt2 Test ip2long() function : usage variation 2, 32 bit
8 /* Prototype : int ip2long(string ip_address)
26 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-7.0/ext/snmp/tests/
H A Dbug60749.phpt15 if (ip2long($ip) === FALSE) {
/PHP-7.0/ext/standard/
H A Dbasic_functions.h64 PHP_FUNCTION(ip2long);
H A Dbasic_functions.c2931 PHP_FE(ip2long, arginfo_ip2long)
3943 PHP_FUNCTION(ip2long) in PHP_FUNCTION() argument

Completed in 32 milliseconds