File "tutorial_iterator.php"
Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/cloudlinux/alt-php55/root/usr/share/doc/pear/Archive/docs/tutorial_iterator.php
File size: 298 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
require_once 'tutorial_autoload.php';
$archive = ezcArchive::open( "compress.zlib:///tmp/my_archive.tar.gz" );
// The foreach method calls internally the iterator methods.
foreach( $archive as $entry )
{
echo $entry, "\n";
$archive->extractCurrent( "/tmp/target_location/" );
}
?>