Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Zend Exam 200-710 Topic 6 Question 45 Discussion

Actual exam question for Zend's 200-710 exam
Question #: 45
Topic #: 6
[All 200-710 Questions]

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

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Geoffrey
28 days ago
Whoa, hold up! If I can't use ini_set() to set the default socket timeout, how am I supposed to manage all my streams? This question is trickier than it seems.
upvoted 0 times
...
Lindsay
29 days ago
Personally, I'm leaning towards B. The stream_read_timeout() function seems like it would be the most direct way to set the timeout.
upvoted 0 times
Yen
7 days ago
I think B is the correct option.
upvoted 0 times
...
...
Domitila
1 months ago
Haha, I'm going to have to rule out E. None of the above? That's a cop-out answer if I ever saw one!
upvoted 0 times
...
Maurine
1 months ago
I'm not sure about this one. I'll go with C since the fsockopen() function has a parameter for setting the timeout.
upvoted 0 times
Chanel
2 days ago
User 2: I'm not sure, but I'll go with C) Specify the timeout as the 5th parameter to the fsockopen() function used to open a stream
upvoted 0 times
...
Whitley
16 days ago
User 1: I think it's D) stream_set_timeout($stream, 10)
upvoted 0 times
...
...
Maricela
2 months ago
I think D is the correct answer. The stream_set_timeout() function is specifically designed to set the read timeout for a stream.
upvoted 0 times
Gene
6 minutes ago
So, the answer is D) stream_set_timeout($stream, 10).
upvoted 0 times
...
Ming
2 days ago
Yes, you are correct. stream_set_timeout() is the function to set read timeout.
upvoted 0 times
...
Martina
5 days ago
I think D is the correct answer.
upvoted 0 times
...
Man
9 days ago
Great, thanks for the clarification!
upvoted 0 times
...
Lucy
13 days ago
So, the answer is D) stream_set_timeout($stream, 10).
upvoted 0 times
...
Skye
1 months ago
Yes, you are right. stream_set_timeout() is used to set the read timeout for a stream.
upvoted 0 times
...
Susy
2 months ago
I think D is the correct answer.
upvoted 0 times
...
...
Valda
2 months ago
I'm not sure, but I think it might be A) ini_set(default_socket_timeout, 10)
upvoted 0 times
...
Buck
2 months ago
I agree with Felicidad, because stream_set_timeout() is specifically used to set a timeout for a stream
upvoted 0 times
...
Felicidad
2 months ago
I think the answer is D) stream_set_timeout($stream, 10)
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77