Back to index

php5  5.3.10
Variables
gtPackage.php File Reference

Go to the source code of this file.

Variables

 $pharPath = substr($thisDir, 0, -strlen('/generate-phpt'))
 This creates a standalone phar file with all of the PHP source included.
 $phar = new Phar($pharPath.'/generate-phpt.phar')
 $stub
 ENDSTUB

Variable Documentation

$phar = new Phar($pharPath.'/generate-phpt.phar')

Definition at line 17 of file gtPackage.php.

$pharPath = substr($thisDir, 0, -strlen('/generate-phpt'))

This creates a standalone phar file with all of the PHP source included.

To run the phar just type 'php generate-phpt.phar <options>' at the command line.

Definition at line 15 of file gtPackage.php.

$stub
Initial value:
 <<<ENDSTUB
<?php
Phar::mapPhar('generate-phpt.phar')

Definition at line 21 of file gtPackage.php.

Definition at line 26 of file gtPackage.php.