2<?php echo
'<'.
'?php';?>
12foreach(array(
"SPL",
"Reflection",
"Phar") as $ext) {
14 echo
"$argv[0] requires PHP extension $ext.\n";
22 'DirectoryTreeIterator',
23 'DirectoryGraphIterator',
24 'InvertedRegexIterator',
30 echo
"if (!class_exists('$name', 0))\n{\n";
34 while ($c && (
strlen($f[$c]) == 0 || $f[$c] ==
"\n" || $f[$c] ==
"\r\n")) {
37 if (
substr($f[$c], -2) ==
"\r\n") {
38 $f[$c] =
substr($f[$c], 0, -2);
40 if (
substr($f[$c], -1) ==
"\n") {
41 $f[$c] =
substr($f[$c], 0, -1);
43 if (
substr($f[$c], -2) ==
'?>') {
44 $f[$c] =
substr($f[$c], 0,-2);
46 while ($c && (
strlen($f[$c]) == 0 || $f[$c] ==
"\n" || $f[$c] ==
"\r\n")) {
53echo
'new PharCommand($argc, $argv);'.
"\n";
file(string $filename, int $flags=0, $context=null)
dirname(string $path, int $levels=1)
strtolower(string $string)
join(string|array $separator, ?array $array=null)
count(Countable|array $value, int $mode=COUNT_NORMAL)
substr(string $string, int $offset, ?int $length=null)
exit(string|int $status=0)
extension_loaded(string $extension)