/** @var 32int */ private $headerSize; /** @var 32int */ private $highSessionID; /** @var 32int */ private $lowSessionID; /** @var array (char) */ private $signature; /** @var 32int */ private $comandID; /** @var 32int */ private $dataSize;
$n = ord('a'); $buf = pack('IS',200000000,$n); $array = unpack('I/S', $buf); foreach ($array as $key => $value) echo "\$array[$key] = ". $value ."<br>\n";
$array[1] = 97<br>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)