您好,欢迎访问一九零五行业门户网

PHP 源代码压缩小工具

#!/usr/bin/env php
/**
* compact php code.
*
* strip comments, combine entire library into one file.
*/
if ($argc print strip unecessary data from php source files.nntusage: php compactor.php destination.php source.php;
exit;
}
$source = $argv[2];
$target = $argv[1];
print compacting $source into $target.n;
include $source;
$files = get_included_files();
print_r($files);
$out = fopen($target, 'w');
fwrite($out, '
其它类似信息

推荐信息