Assignment Operators PHP

There really is only one assignment operator, but PHP offers a handful of shortcut operators for combining assignment with another operator. lists all the assignment operators.

All the assignment operators put a value into a variable. Specifically, they put a value on the right side into a variable on the left side. You may not reverse the order. The operators that combine another operator with an assignment operator operate on both the right and left sides and then put the result in the variable on the left. demonstrates equivalent statements.

Assignment Operators



Face Book Twitter Google Plus Instagram Youtube Linkedin Myspace Pinterest Soundcloud Wikipedia

All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

PHP Topics