Examveda
Examveda

What will the following script do?
<?php
echo getservbyname ('ftp', 'tcp');
?>

A. A list of the FTP servers on the local network

B. The address of the FTP server called “tcp”

C. The port associated with the TCP service called “FTP”

D. A list of the ports associated with all services except FTP

Answer: Option C


This Question Belongs to PHP >> PHP Networking

Join The Discussion

Related Questions on PHP Networking