mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
fixed the parameter of 'stream_context_create'.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@251624 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3cd6d1522e
commit
0af5f5b0c2
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.9 $ -->
|
||||
<!-- $Revision: 1.10 $ -->
|
||||
<chapter xml:id="phar.using" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<title>Using Phar Archives</title>
|
||||
|
||||
|
@ -201,7 +201,7 @@ $a->stopBuffering();
|
|||
<![CDATA[
|
||||
<?php
|
||||
$context = stream_context_create(array('phar' =>
|
||||
array('compression' => Phar::GZ)),
|
||||
array('compress' => Phar::GZ)),
|
||||
array('metadata' => array('user' => 'cellog')));
|
||||
file_put_contents('phar://my.phar/somefile.php', 0, $context);
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue