8000 GitHub - honglvshi/guangguang_bom: 检测和去除项目中的bom头
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

honglvshi/guangguang_bom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###安装

composer require honglvshi/guangguang_bom

demo

//check_extension 检测文件的后缀
//check_path检测的目录
$ret = new \GuangBom\Bom([
    "check_extension" => ['php'],   
    "check_path" => [__DIR__,__DIR__]
]);

//true 代表直接替换bom头 false 只查找 默认flase
$ret->find(true);

About

检测和去除项目中的bom头

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

0