PDF document

syntax - What does "->" or "=>" mean in PHP? - Stack Overflow

since PHP 7.4 => operator is also used for the arrow functions, a more concise syntax for anonymous functions. since PHP 8.0 => operator is also used to define hands in the match expression

Source: stackoverflow.com