Combing mathematical operations with an equal sign in PHP
It is possible to combine mathematical operations such as addition, subtraction, multiplication, division and remainder with the equal sign. Remainder is represented by a percentage sign.
It is a shortcut of performing this operation and assigning value back to the original variable.
Comments
Post a Comment