Web Analytics

PHP pack() Function

Binary FunctionPHP 4+

The pack() function packs data into a binary string according to the specified format.

Syntax

pack(string $format, mixed ...$values): string

Try It Online

Output
Click Run to execute your code

Related Functions