Lines Matching refs:getservbyport
2 Test function getservbyport() by calling it more than or less than its expected arguments
12 var_dump(getservbyport( -1, "tcp" ));
13 var_dump(getservbyport( 80, "ppp" ));
14 var_dump(getservbyport( null, null));
15 var_dump(getservbyport( array(), array()));
16 var_dump(getservbyport( array(80), array("tcp")));
17 var_dump(getservbyport( array(2, 3), array("one"=>1, "two"=>2)));
18 var_dump(getservbyport( 2, 2));
19 var_dump(getservbyport( "80", "tcp"));
20 var_dump(getservbyport( new stdClass(), new stdClass()));
28 Warning: getservbyport() expects parameter 1 to be long, array given in %s on line %d
31 Warning: getservbyport() expects parameter 1 to be long, array given in %s on line %d
34 Warning: getservbyport() expects parameter 1 to be long, array given in %s on line %d
39 Warning: getservbyport() expects parameter 1 to be long, object given in %s on line %d