Using PHP5 (cgi) to output template files from the filesystem and having issues spitting out raw HTML.
private function fetch($name) { $path = $this->
A solution without pack function:
pack
$a = "1"; var_dump($a); // string(4) "1" function deleteBom($text) { return preg_replace("/^\xEF\xBB\xBF/", '', $text); } var_dump(deleteBom($a)); // string(1) "1"