From::serial()
Unserializes data.
Table of Contents
Description
From::serial(?string $value): mixed;This method unserializes the serialized data.
Example
$value = From::serial('a:3:{i:0;i:0;i:1;s:1:"a";i:2;a:0:{}}'); // Returns `[0, 'a', []]`From::HTML()
Encodes HTML special characters.
From::JSON()
Decodes JSON string to data.
From::URL()
Encodes URL special characters.
From::_()
Creates a virtual method.
From::__callStatic()
Calls the virtual method that has been created.
From::base64()
Decodes Base64 string.
From::entity()
Converts HTML entities to their corresponding characters.
From::query()
Converts URL query string to PHP array.
From::serial()
Unserializes data.