Stream and Network Programming Question 5

18 views
Skip to first unread message

Dan Kelly

unread,
Jul 22, 2011, 8:38:19 AM7/22/11
to Zend Certification Study Group
The stream context provides information about the data being
transported over a given
stream and can be used to pass configuration options to which of the
following aspects of the
stream? (Choose 2)

A. Stream Filters
B. Stream Transports
C. File Wrappers
D. The individual read / write streams
E. All of the above

sealtrip

unread,
Jul 25, 2011, 5:11:38 AM7/25/11
to zend-certificat...@googlegroups.com
Based on the last one...

B. Stream Transports
C. File Wrappers


Dan Kelly

unread,
Jul 25, 2011, 7:36:11 AM7/25/11
to Zend Certification Study Group
The correct answers are B and C. Stream contexts can be created and
used to modify the
behaviour of the file wrapper being used with a stream, or the
transport of the stream itself.
Usually, creating a stream context is not necessary, as PHP does a
very good job of
managing most common situations for you.
Reply all
Reply to author
Forward
0 new messages