Skip to content

Instantly share code, notes, and snippets.

View aeberhard's full-sized avatar
🤘

Andreas Eberhard aeberhard

🤘
View GitHub Profile
@jdlx
jdlx / bom_check.php
Created May 11, 2012 15:39
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