Skip to content

Instantly share code, notes, and snippets.

View modestfake's full-sized avatar

Vitalii Saienko modestfake

View GitHub Profile
@modestfake
modestfake / bom_check.php
Created January 13, 2017 14:54 — forked from jdlx/bom_check.php
PHP script to recursively check php files for BOM (ByteOrderMark)
<?php
/**
* @author Atanas Vasilev
* @link http://pastebin.com/dHbqjUNy
* @see http://www.dotvoid.com/2010/04/detecting-utf-bom-byte-order-mark/
* @version 1.1
*/
// SETTINGS