관리-도구
편집 파일: phar
#!/opt/alt/php54/usr/bin/php <?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 directorygraphiterator.inc� "1.gi ��@Ķ pharcommand.incP� "1.g�# `R� directorytreeiterator.inc� "1.gN 1s�� clicommand.inc�! "1.g% ��� invertedregexiterator.inc� "1.g� �ar� phar.inc "1.g+ CbcD� �PKO�@>w�<�Az1Ոڋ�f�t�6�[Q��� �{���f�Zy�R����_ $\"ә��%�S�QR�q� s�9xk��/PYp*9-�R�=��;��[-t�I�!��P�J�F0�Ѹ��]y0�� ǁBMEBe�>�Tn[?$�� � Z"�q�)Ր��T��T�1GU�/��♀f�i�_�p�Q$'tdr��"άL���1˄Ҳ`��*�:����Ya.Kױ���(�+(��Rs��� �bL% }��[˰���^P���ø�ި=�m+�T���J亝v��{M�Q��:��ŝ�tI�)��n�=3pF�<gK���� �=kw�6���_�dݥ�����8uS��9y��i{�I֥$H�"�$��m���<