diff --git a/example.php b/example.php index 88443d7..661ea38 100644 --- a/example.php +++ b/example.php @@ -5,8 +5,8 @@ require('lib/danog/PHP/Struct.php'); $struct = new danog\PHP\Struct(); -var_dump($struct->unpack(">2cxbBx?xhxHxixIxlxLxqxQxnxNxfxdx2sx", - $struct->pack(">2cxbBx?xhxHxixIxlxLxqxQxnxNxfxdx2sx", +var_dump($struct->unpack(">2cxbxBx?xhxHxixIxlxLxqxQxnxNxfxdx2sx", + $struct->pack(">2cxbxBx?xhxHxixIxlxLxqxQxnxNxfxdx2sx", "nv", 61, 61, false, 333, 444, 232423, 234342, 243342423424, 234234234234, 234234234234, 234234234234, 34434, 344434, 2.2343, 3.03424, "dd" )