File: //proc/self/root/usr/bin/phar5.4
#!/usr/bin/php5.4
<?php if (!class_exists('PHP_Archive')) {
?><?php
}
if (!in_array('phar', stream_get_wrappers())) {
stream_wrapper_register('phar', 'PHP_Archive');
}
if (!class_exists('Phar',0)) {
include 'phar://'.__FILE__.'/phar.inc';
}
?><?php
/** @file phar.php
* @ingroup Phar
* @brief class CLICommand
* @author Marcus Boerger
* @date 2007 - 2008
*
* Phar Command
*/
if (!extension_loaded('phar'))
{
if (!class_exists('PHP_Archive', 0)) {
echo "Neither Extension Phar nor class PHP_Archive are available.\n";
exit(1);
}
if (!in_array('phar', stream_get_wrappers())) {
stream_wrapper_register('phar', 'PHP_Archive');
}
if (!class_exists('Phar',0)) {
require 'phar://'.__FILE__.'/phar.inc';
}
}
foreach(array("SPL", "Reflection") as $ext)
{
if (!extension_loaded($ext)) {
echo "$argv[0] requires PHP extension $ext.\n";
exit(1);
}
}
function command_include($file)
{
$file = 'phar://' . __FILE__ . '/' . $file;
if (file_exists($file)) {
include($file);
}
}
function command_autoload($classname)
{
command_include(strtolower($classname) . '.inc');
}
Phar::mapPhar();
spl_autoload_register('command_autoload');
new PharCommand($argc, $argv);
__HALT_COMPILER(); ?>
6 pharcommand directorytreeiterator.inc ]N 1s pharcommand.incP ]# `R directorygraphiterator.inc ]i @Ķ clicommand.inc! ]%
invertedregexiterator.inc ] ar phar.inc ]+ CbcD Tn@}b@HR9W
$:a^*U6fW25N{g$h3̜9;pyS$mBsI^4!J$-,,`"EUIT(
}QMPIN R)uj.4;/2WT09ha2/IgOkDNFbB7F(f3'$%g 4fsSJf=m3[~ۖgJSiXPI۶LBXBD氾'4SZY06՜f2| (ag7*{_֮@xϰw#0>Iu|yl:߿~`#oo+mw3fM%%ejЀ).Y.
,w>\s׆Yf{Yv^u.%4t"U:FB'k.jm_ql궮ƼH7|&x@썟zJүVӭbn<W{ڍcPUʌbd3E:
81͋j1 ,Rh@ /sq.2PwWo =kw6_dݥ8uS9yi{I֥$H"$m<