PHP Manualserialize(PHP 4, PHP 5) serialize — Generates a storable representation of a value DescriptionGenerates a storable representation of a value This is useful for storing or passing PHP values around without losing their type and structure. To make the serialized string into a PHP value again, use unserialize(). Parameters
Return Values
Returns a string containing a byte-stream representation of
Examples
Example #1 serialize() example
<?php Changelog
Notes
See Also
![]() |
PHP-Index
New Tutorial entries
|