PrepAway - Latest Free Exam Questions & Answers

Which of the following will set a 10 seconds read timeout for a stream?

Which of the following will set a 10 seconds read timeout for a stream?

PrepAway - Latest Free Exam Questions & Answers

A.
ini_set(“default_socket_timeout”, 10);

B.
stream_read_timeout($stream, 10);

C.
Specify the timeout as the 5th parameter to the fsockopen() function used to open a stream

D.
stream_set_timeout($stream, 10);

E.
None of the above

One Comment on “Which of the following will set a 10 seconds read timeout for a stream?


Leave a Reply

Your email address will not be published. Required fields are marked *