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:
Greg Beaver 2008-05-19 16:34:26 +00:00
parent 75acc246a2
commit 094d944995

View file

@ -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>