PHP Operators

PHP Data Types Previous Next PHP Arithmetic Operators


PHP Operator is use to perform operation on one or more than one operands. operands may be variables or value

for example:

75+27 // 102

75,27 is an arithmetic expression, in above example 75,27 is a value called as operands and + is an addition operators.

$num1+$num2;

Above is an variables example where + is an addition operators.

Following are the PHP Operators.

  1. Arithmetic Operators
  2. Assignment Operators
  3. Comparison Operators
  4. Logical Operators
  5. Bitwise Operators

Tags: PHP


Was this helpful ?


Popular Code

Latest Code