Horde_Pack_Driver_Igbinary
extends Horde_Pack_Driver
in package
PHP igbinary extension handler.
Tags
Table of Contents
- $id : int
- $phpob : bool
- $_id : int
- Identifer for this driver. Each driver needs a unique priority.
- $_phpob : bool
- Does this driver support packing PHP objects?
- __get() : mixed
- pack() : string
- Pack a string.
- supported() : bool
- Is this driver supported on this system?
- unpack() : mixed
- Unpack a string.
Properties
$id read-only
public
int
$id
The single-byte identifier for this driver (also used as priority).
$phpob read-only
public
bool
$phpob
Supports packing PHP objects?
$_id
Identifer for this driver. Each driver needs a unique priority.
protected
int
$_id
= 4
$_phpob
Does this driver support packing PHP objects?
protected
bool
$_phpob
= \true
Methods
__get()
public
__get(mixed $name) : mixed
Parameters
- $name : mixed
Return values
mixed —pack()
Pack a string.
public
pack(mixed $data) : string
Parameters
- $data : mixed
-
The data to pack.
Return values
string —The packed string.
supported()
Is this driver supported on this system?
public
static supported() : bool
Return values
bool —True if supported.
unpack()
Unpack a string.
public
unpack(mixed $data) : mixed
Parameters
- $data : mixed
-
The packed string.
Return values
mixed —The unpacked data.