Stream and Network Programming Question 3

16 views
Skip to first unread message

Dan Kelly

unread,
Jul 22, 2011, 8:36:35 AM7/22/11
to Zend Certification Study Group
The Stream API provides all but which of the following pieces of
information using the
stream_get_meta_data function?

A. Whether there is more data to be read
B. Whether the stream has timed out or not
C. Whether the stream is blocking
D. How much data has passed through the stream
E. The component parts the stream consists of

Dan Kelly

unread,
Jul 25, 2011, 7:35:37 AM7/25/11
to Zend Certification Study Group
The correct answer is D. The stream_get_meta_data function does not
tell you how much data
has passed through the stream—it does, however, tell you how much
there is left to be read.
Reply all
Reply to author
Forward
0 new messages