can someone provide a brief explanation of what this line does:
include 'zend.view://' . func_get_arg(0);
What's with the "zend.view://" syntax? I've never seen a file included like this before. Appreciate your help, cheers!
That's a custom stream implementation, probably a wrapper.
Streams were introduced with PHP 4.3.0 as a way of generalizing file, network, data compression, and other operations which share a common set of functions and uses. In its simplest definition, a stream is a resource object which exhibits streamable behavior. That is, it can be read from or written to in a linear fashion, and may be able to fseek() to an arbitrary locations within the stream.
Take a look around for calls to the stream_
family of functions, and you'll find where it's declared and exactly what it's doing to the underlying file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With