...

/

Assignment Operators

Assignment Operators

Basic Assignment #

PHP allows you to do the basic arithmetic assignment by using the = operator.

The above statement results in $a having the value “hello”. The result of an assignment expression is the value being assigned. Note that a single equal sign = is NOT for comparison! ...