Documentation

Crypt

Interfaces, Classes and Traits

AES
Pure-PHP implementation of AES.
Base
Base Class for all \phpseclib\Crypt\* cipher classes
Blowfish
Pure-PHP implementation of Blowfish.
DES
Pure-PHP implementation of DES.
Hash
Pure-PHP implementations of keyed-hash message authentication codes (HMACs) and various cryptographic hashing functions.
Random
Pure-PHP Random Number Generator
RC2
Pure-PHP implementation of RC2.
RC4
Pure-PHP implementation of RC4.
Rijndael
Pure-PHP implementation of Rijndael.
RSA
Pure-PHP PKCS#1 compliant implementation of RSA.
TripleDES
Pure-PHP implementation of Triple DES.
Twofish
Pure-PHP implementation of Twofish.

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