【发布时间】:2015-10-06 07:00:06
【问题描述】:
我一直在尝试学习 php 流,我遇到了这句话,它看起来像是在做 php 开始标签的工作,请你解释一下它是什么,或者提供给我文档,这里是代码:
[cc lang="php"]$opts = array(
'http' => array(
'method' => "GET",
'header' => "Accept-language: en\r\n" .
"Cookie: foo=bar\r\n"
)
);
【问题讨论】:
-
[cc lang=”php”]$opts = array( 'http' => array( 'method' => "GET", 'header' => "Accept-language: en\r \n” . “Cookie: foo=bar\r\n” ) );
-
那不是 PHP 代码,与 PHP 无关。
标签: php arrays methods stream tags