getprotobynumber

(PHP 4, PHP 5, PHP 7)

getprotobynumberGet protocol name associated with protocol number

说锟斤拷

getprotobynumber ( int $number ) : string

getprotobynumber() returns the protocol name associated with protocol number as per /etc/protocols.

锟斤拷锟斤拷

number

The protocol number.

锟斤拷锟斤拷值

Returns the protocol name as a string, 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE.

锟轿硷拷