Chapter 10. Stream and Network Programming
Terms Youâll Need to Understand
File wrappers
Streams
Sockets
Blocking calls
Techniques Youâll Need to Master
Filesystem functions
Network functions
Socket functions
Stream functions
URL functions
List of supported protocols/wrappers
List of supported transports
php.ini
Settings to Understand
allow_url_fopen
(Filesystem)auto_detect_line_endings
(Filesystem)default_socket_timeout
(Filesystem)from
(Filesystem)user_agent
(Filesystem)
What Are File Wrappers?
File wrappers are pieces of code that PHP uses to read from and write to different types of files. They are part of PHPâs Streams architecture.
File wrappers allow you to use PHPâs built-in filesystem functions on things that arenât normal files.
Get Zend PHP Certification Study Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.