Gen. partnerAlgotech

PHP function unpack()

Unpacking data from a binary string

|
September 11, 2019

Availability in PHP 4.0

Unpacking data from a binary string

Parameters

Parameter Data type Default value Note
$format string not See package for explanation of format codes.
$data string not Packaged data.
$offset int not

Return values

array

An associative array containing the expanded elements of the binary string.

Additional resources

Official unpack documentation

Loading comments...

Stay in the loop

Subscribe to our newsletter and get the latest cybersecurity news delivered straight to your inbox.

Your data is safe. You can unsubscribe from the newsletter at any time.