A getprotobynumber() example:
<?php
$protocolname = getprotobynumber(6);
echo $protocolname;
?>
The getprotobynumber() function returns the protocol name for a given protocol number.
getprotobynumber(
protocolnumber)
Parameter | Description |
---|---|
protocolnumber | Required. Specifies a protocol number (like 17) |
Return Value: | The protocol name on success. FALSE on failure. |
---|---|
PHP Version: | 4.0+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!