Skip to main content
InterviewHubPRO
Section Overview
Q20

Question 20 of 50

Part 2: Zend Engine Internals, OPcache & Memory Architecture (11 - 24)

40%
PHP & Zend Engine (50 Qs)•Part 2: Zend Engine Internals, OPcache & Memory Architecture (11 - 24)

What are PHP Streams and Stream Wrappers?

senior LevelMost AskedSystem Design

In Simple Words: Streams generalize file, network, and data operations into a uniform interface (fopen('s3://bucket/key'), fopen('php://memory')). Custom Stream Wrappers allow applications to transparently read/write to custom cloud protocols without altering code.