From::__callStatic()
Calls the virtual method that has been created.
Table of Contents
Description
From::__callStatic(string $kin, array $lot = []): mixed;This method will pass the original input value as-is if the virtual method being called is not yet defined.
Example
echo From::RGB(255, 192, 203); // Returns `255` because method `From::RGB()` is not yet definedFrom::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.