note 9890 modified in function.getservbyport by derick
| From: | derick@php.net | Date: | Sun, 12 May 2002 15:31:00 +0000 |
| Subject: | note 9890 modified in function.getservbyport by derick | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-30514@lists.php.net to get a copy of this message | ||
Example:
$value=getservbyport(137, "udp");
The same goes for getservbyname()
--was--
Example:
$value=getservbyport(137, udp);
"udp" will also work. UDP and "UDP" do not.
The same goes for getservbyname()
http://www.php.net/manual/en/function.getservbyport.php