Home
last modified time | relevance | path

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

/PHP-5.3/ext/standard/tests/general_functions/
H A Dgetservbyport_variation1.phpt2 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 Dgetservbyport_error.phpt2 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 Dgetservbyport_basic.phpt2 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 Dbasic_functions.h112 PHP_FUNCTION(getservbyport);
H A Dbasic_functions.c2848 PHP_FE(getservbyport, arginfo_getservbyport)
5657 PHP_FUNCTION(getservbyport) argument
5668 serv = getservbyport(htons((unsigned short) port), proto);
/PHP-5.3/
H A Dconfigure.in546 getservbyport \

Completed in 28 milliseconds