php zip类 tp5实例 亲测无bug

正文开始

类路径: /extend/fast/Zip.php

 $zip= new Zip();
 $path = ROOT_PATH.'/extend/copyCommonCodes/';
 $status = $zip->zip(ROOT_PATH.'/extend/copyCommonCodes.zip', $path);

zip类附件下载

正文结束

PHP接口(interface)和抽象类(abstract) phpstorm某个文件无法识别格式,或以text类型解析的bug