From::__callStatic()

Calls the virtual method that has been created.

Table of Contents
  1. Description
  2. Example

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 defined

From::__callStatic()

Calls the virtual method that has been created.

From::entity()

Converts HTML entities to their corresponding characters.