phar_from_dir.php File Reference

Create phar archive from directory. More...

Go to the source code of this file.

Variables

 $dir = new RecursiveIteratorIterator($dir)
 $dir = new RecursiveDirectoryIterator($argv[2])
 $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 RecursiveIteratorIterator($dir)

Definition at line 34 of file phar_from_dir.php.

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

Definition at line 33 of file phar_from_dir.php.

Referenced by __autoload(), and __load_class().

$phar = new Phar($argv[1], 0, 'newphar')

Definition at line 31 of file phar_from_dir.php.


Generated on Thu Apr 26 01:04:48 2007 for SPL-StandardPHPLibrary by  doxygen 1.5.2