Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.207 kb
<?php
$file = @fopen("product.php", "r");
$bom = fread($file, 3);
if ($bom != b"\xEF\xBB\xBF")
{
echo "NO BOM";
}
else
{
echo "BOM";
}
Jump to Line
Something went wrong with that request. Please try again.