Removed diagnostic hexDump() function from file. Not much use here anyway with the autoloader, if trying to hex dump anything other than read Excel5 files. Will move it to my debugging code, where it should be anyway.

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@65024 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2010-12-08 15:08:09 +00:00
parent ac13feadec
commit 0ea41c7996

View File

@ -6409,21 +6409,3 @@ class PHPExcel_Reader_Excel5 implements PHPExcel_Reader_IReader
}
}
function hexDump($string) {
echo '<pre>';
for ($i = 0; $i < strlen($string); $i++) {
if (($i % 16) == 0) {
echo '<br />';
echo str_pad(strtoupper(dechex(floor($i/16))),3,'0',STR_PAD_LEFT),' ';
}
echo str_pad(strtoupper(dechex(ord($string{$i}))),2,'0',STR_PAD_LEFT),' ';
if ((ord($string{$i}) >= 32) && (ord($string{$i}) <= 127)) {
echo '(',$string{$i},') ';
} else {
echo '(¬) ';
}
}
echo '</pre><hr />';
}