mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
fix example to use convertToExecutable instead of
obsolete functionality git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260001 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
75acc246a2
commit
094d944995
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- Purpose: compression -->
|
||||
<!-- Membership: pecl -->
|
||||
|
||||
|
@ -110,7 +110,7 @@
|
|||
<![CDATA[
|
||||
<?php
|
||||
$phar = new Phar('myphar.phar');
|
||||
$phar->convertToTar();
|
||||
$pgz = $phar->convertToExecutable(Phar::TAR, Phar::GZ); // makes myphar.phar.tar.gz
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue