Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM
The scope resolution operator is also called "Paamayim Nekudotayim" from the Hebrew פעמיים נקודתיים. which means "double colon" or "double dot twice".
This error typically happens if you inadvertently put :: in your code.
Related Questions:
- Reference: PHP Parse/Syntax Errors; and How to solve them?
- What do two colons mean in PHP?
- What's the difference between :: (double colon) and -> (arrow) in PHP?
- Unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting T_NS_Separator
Documentation: