16 echo
"Neither Extension Phar nor class PHP_Archive are available.\n";
23 require
'phar://'.__FILE__.
'/phar.inc';
27foreach(array(
"SPL",
"Reflection") as $ext)
30 echo
"$argv[0] requires PHP extension $ext.\n";
52new PharCommand($argc, $argv);
in_array(mixed $needle, array $haystack, bool $strict=false)
file_exists(string $filename)
stream_wrapper_register(string $protocol, string $class, int $flags=0)
strtolower(string $string)
static mapPhar(?string $alias=null, int $offset=0)
command_autoload($classname)
if(!extension_loaded('phar')) foreach(array("SPL", "Reflection") as $ext) command_include($file)
spl_autoload_register(?callable $callback=null, bool $throw=true, bool $prepend=false)
class_exists(string $class, bool $autoload=true)
exit(string|int $status=0)
extension_loaded(string $extension)