Documentation

Random

Interfaces, Classes and Traits

Random
Pure-PHP Random Number Generator

Table of Contents

phpseclib_safe_serialize()  : mixed
Safely serialize variables

Functions

phpseclib_safe_serialize()

Safely serialize variables

phpseclib_safe_serialize(mixed &$arr) : mixed

If a class has a private __sleep() method it'll give a fatal error on PHP 5.2 and earlier. PHP 5.3 will emit a warning.

Parameters
$arr : mixed
Tags
access

public

Return values
mixed

Search results