微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

php – Zend_View :: _ run(),第106行做什么?

有人可以简要解释这一行的作用:

包括’zend.view://’. func_get_arg(0);

什么是“zend.view://”语法?我以前从未见过像这样的文件.感谢你的帮助,欢呼!

解决方法:

这是一个自定义stream实现,可能是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.

查看对stream_系列函数调用,您将找到它的声明位置以及它对底层文件的确切操作.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐