1.2.955. Pack Format Inventory

All format used in the code with pack() and unpack().

<?php

$binarydata = "\x04\x00\xa0\x00";
$array = unpack("cn", $binarydata);
$initial = pack("cn", ...$array);

?>

See also pack().

1.2.955.1. Specs

Short name

Type/Pack

Rulesets

All, Appinfo, CE, Inventory

Exakat since

1.5.0

PHP Version

All

Severity

Time To Fix

Precision

High

Features

pack

Available in

Entreprise Edition, Community Edition, Exakat Cloud