48. Class

48.1. Zend\Serializer\Adapter\PhpCode

48.1.1. Methods

48.1.1.1. serialize

serialize()

Serialize PHP using var_export

Parameters:mixed
Return type:string

48.1.1.2. unserialize

unserialize()

Deserialize PHP string

Warning: this uses eval(), and should likely be avoided.

Parameters:string
Return type:mixed
Throws :ExceptionRuntimeException on eval error

Project Versions

Table Of Contents

Previous topic

47. Class

Next topic

49. Class

This Page