API Documentation

Serializer/Adapter/PhpCode.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Serializer
subpackage
Adapter
version
$Id: PhpCode.php 20575 2010-01-24 17:48:27Z mabe $
Classes
Zend_Serializer_Adapter_PhpCode

Description

Zend Framework

LICENSE

This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.

Zend_Serializer_Adapter_PhpCode

Extends from
Zend_Serializer_Adapter_AdapterAbstract
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Serializer
subpackage
Adapter
Methods
serialize
unserialize

Description

Methods

serialize

serialize( mixed $value, array $opts = array ) : string

Serialize PHP using var_export

Arguments
$value
mixed
$opts
array
Output
string
Details
visibility
public
final
false
static
false

unserialize

unserialize( string $code, array $opts = array ) : mixed

Deserialize PHP string

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

Arguments
$code
string
$opts
array
Output
mixed
Details
visibility
public
final
false
static
false
throws
on eval error
Documentation was generated by DocBlox.