1
0
mirror of https://github.com/danog/PHPStruct.git synced 2024-11-30 04:19:08 +01:00
PHPStruct/example.php
2016-07-08 02:19:00 +02:00

9 lines
225 B
PHP

<?php
//require('vendor/autoload.php');
require('lib/danog/PHP/Struct.php');
$struct = new danog\PHP\Struct();
var_dump($struct->unpack(">2cx2c?iflh", $struct->pack(">2cx2c?iflh", "fa", "fs", true, 45, 2.1, 5000, 5005)));