Searched refs:getservbyport (Results 1 – 6 of 6) sorted by relevance
/PHP-5.3/ext/standard/tests/general_functions/ |
H A D | getservbyport_variation1.phpt | 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())); [all …]
|
H A D | getservbyport_error.phpt | 2 Test function getservbyport() by calling it more than or less than its expected arguments 13 var_dump(getservbyport( $port, $protocol, $extra_arg ) ); 14 var_dump(getservbyport($port)); 17 Warning: getservbyport() expects exactly 2 parameters, %d given in %s on line %d 20 Warning: getservbyport() expects exactly 2 parameters, %d given in %s on line %d
|
H A D | getservbyport_basic.phpt | 2 Test function getservbyport() by calling it more than or less than its expected arguments 18 $service = getservbyport( 80, "tcp" );
|
/PHP-5.3/ext/standard/ |
H A D | basic_functions.h | 112 PHP_FUNCTION(getservbyport);
|
H A D | basic_functions.c | 2848 PHP_FE(getservbyport, arginfo_getservbyport) 5657 PHP_FUNCTION(getservbyport) argument 5668 serv = getservbyport(htons((unsigned short) port), proto);
|
/PHP-5.3/ |
H A D | configure.in | 546 getservbyport \
|
Completed in 28 milliseconds