Categories
PHP Tutorials

What does the symbol “&” “&&” “||” “::” “%” “!!” “**” mean in PHP?

This is the best guide on PHP symbols I’ve every seen. If only something like this existed when I was first learning to code.

Reference:

& =& &= && % !! @ ?: : :: \ -> => ^ >> <<< = == === !== != <> | || ~ + += ++ .= . , $$ ` <?= [] ... **

A list of every symbol in PHP that you’ve ever wanted to know the meaning of.

::

The “::” symbol (Scope Resolution Operator) explained