9.7. Summary

This chapter discusses miscellaneous features of PHP that are often needed for advanced PHP programming. This chapter provides information about working with streams—a feature of PHP—and about other features, such as regular expressions, date and time functions, building images, and converting between character sets—all features provided by PHP extensions.

Beginning with PHP 4.3.0, you can interact with files, processes, programs, or networks using streams. You can open, read, write, copy, rename, and otherwise manipulate local and remote files, including compressed files, and you can pipe information into and out of processes and programs using PHP functions that work with streams. Many stream functions are available, such as

Get PHP 5 Power Programming 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.