public function PHPExcel_Reader_Excel5_MD5::getContext in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel5/MD5.php \PHPExcel_Reader_Excel5_MD5::getContext()
Get MD5 stream context
Return value
string
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel5/ MD5.php, line 71
Class
- PHPExcel_Reader_Excel5_MD5
- PHPExcel_Reader_Excel5_MD5
Code
public function getContext() {
$s = '';
foreach (array(
'a',
'b',
'c',
'd',
) as $i) {
$v = $this->{$i};
$s .= chr($v & 0xff);
$s .= chr($v >> 8 & 0xff);
$s .= chr($v >> 16 & 0xff);
$s .= chr($v >> 24 & 0xff);
}
return $s;
}