Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
PHP Streams: Lucky Dip
1.
2. About the author
• PHP Core Developer since 2001
• Author of the Streams layer
• I hold the title “King” of PECL
• Author of most of PDO and its drivers
• Day-job is developing the fastest MTA on Earth
3. Lucky Dip!?
• Streams is a big topic area
• Every uses them
• A lot of people misuse them
• tid-bits from basic to advanced level
4. What is a stream?
• View of some kind of data
• Presented in chunks
• Readable
• Writable
• Sometimes seekable
5. File based streams
• Most common (include/require)
• Represent data held in a filesystem