SplStack
extends SplStack
in package
implements
Serializable
Serializable version of SplStack
Interfaces, Classes, Traits and Enums
- Serializable
Table of Contents
- serialize() : string
- Serialize
- toArray() : array<string|int, mixed>
- Serialize to an array representing the stack
- unserialize() : void
- Unserialize
Methods
serialize()
Serialize
public
serialize() : string
Return values
string —toArray()
Serialize to an array representing the stack
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —unserialize()
Unserialize
public
unserialize(string $data) : void
Parameters
- $data : string