1
0
mirror of https://github.com/danog/PHPStruct.git synced 2024-11-26 19:54:38 +01:00

Applied fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-08-14 12:42:47 -04:00 committed by StyleCI Bot
parent e1cb9702b0
commit de4894e5c9

View File

@ -5,7 +5,7 @@ require 'lib/danog/PHP/StructTools.php';
require 'lib/danog/PHP/StructClass.php'; require 'lib/danog/PHP/StructClass.php';
require 'lib/danog/PHP/StructException.php'; require 'lib/danog/PHP/StructException.php';
require 'lib/danog/PHP/Struct.php'; require 'lib/danog/PHP/Struct.php';
var_dump(bin2hex(pack('J', "18446744073709550591"))); var_dump(bin2hex(pack('J', '18446744073709550591')));
var_dump(bin2hex(\danog\PHP\Struct::pack('Q', 18446744073709550590))); var_dump(bin2hex(\danog\PHP\Struct::pack('Q', 18446744073709550590)));
var_dump(\danog\PHP\Struct::calcsize('>l')); var_dump(\danog\PHP\Struct::calcsize('>l'));