瀏覽代碼

Minor PHP code typo fix in setStream() example

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@22769 44c647ce-9c0f-0410-b52a-842ac1e357ba
shahar 15 年之前
父節點
當前提交
51a001c233
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      documentation/manual/en/module_specs/Zend_Http_Client-Advanced.xml

+ 1 - 1
documentation/manual/en/module_specs/Zend_Http_Client-Advanced.xml

@@ -453,7 +453,7 @@ copy($response->getStreamName(), "my/downloads/file");
 $fp = fopen("my/downloads/file2", "w");
 $fp = fopen("my/downloads/file2", "w");
 stream_copy_to_stream($response->getStream(), $fp);
 stream_copy_to_stream($response->getStream(), $fp);
 // Also can write to known file
 // Also can write to known file
-$client->setStream("my/downloads/myfile)->request('GET');
+$client->setStream("my/downloads/myfile")->request('GET');
 ]]></programlisting>
 ]]></programlisting>
             </example>
             </example>
         </para>
         </para>