Function xc_serialize
Serialises a variable to PHP format using the Core encoder interface.
Contrary to the standard serialize() function that does not
allow serialisation of native closures, this method replaces all native
closures by instances of Core\Closure
that provide support for
serialisation and transparently embed a native closure.
Since:
3.1
Located at Boot.inc.php
Located at Boot.inc.php
Parameters summary
mixed |
$var |
Variable to serialise. |
Return value summary
string
|
Binary string of serialised variable. |