SPL-StandardPHPLibrary
Variables
phar_from_dir.php File Reference

Go to the source code of this file.

Variables

 $dir = new RecursiveDirectoryIterator($argv[2])
 
if($argc< 3) $phar = new Phar($argv[1], 0, 'newphar')
 

Detailed Description

Create phar archive from directory.

Author
Marcus Boerger
Date
2003 - 2007
Version
1.0

Usage: php phar_create_from_dir.php <archive> <directory> [<regex>]

Create phar archive <archive> using entries from <directory> that optionally match <regex>.

Definition in file phar_from_dir.php.

Variable Documentation

$dir = new RecursiveDirectoryIterator($argv[2])

Definition at line 33 of file phar_from_dir.php.

Referenced by __autoload(), and __load_class().

if ($argc< 3) $phar = new Phar($argv[1], 0, 'newphar')

Definition at line 31 of file phar_from_dir.php.