phpseclib API Documentation
Class

phpseclib\Crypt\Random

class Random

Pure-PHP Random Number Generator

Methods

safe_serialize(mixed $arr)

Safely serialize variables

Details

at line 244
public safe_serialize(mixed $arr)

Safely serialize variables

If a class has a private __sleep() it'll emit a warning

Parameters

mixed $arr