Scalar Variables and Operators
Binary Assignment Operators
- A scalar assignment operation actually returns a value... the
value of the left side of the = operator.
- This looks odd, but makes it possible to chain assignments.
- Example: $four = 1 + ($three = 1 + ( $two = 1 + 1 ));
Back to Syllabus
Previous: Scalar Operators and Functions
Next: Auto Increment and Auto Decrement