PHP Operators: Maths
Thursday, January 31st, 2008There are various kinds of operators used in PHP, but we’re going to start with the most basic and commonly known operator - the Math operators.
What are operators? They are basically a special set of characters (or symbols, if you like) which tells PHP to perform a certain operation. For example, the ‘+’ (plus sign) is used for arithmetic adding of 2 values or variables.
Now you know why I’m starting with the Math operators, cos anyone who has had any basis schooling in Mathematics will be familiar with the Math operators.