PHP 7 Essential Guide – PHP Operators for beginners

PHP operators are used to performing operations on variables and values.

  • Maths Operators
  • Assignment operators
  • Logical Operators
  • Increment and Decrement Operators
  • String Operators

Maths Operators:-
arithmetic operators are used with numerice values to perform arithmetic operators like as addition, subtraction, multiplication, division or etc.

Assignment operators:-
Assignment operators are used to write a numeric value to a variable values.


Logical Operators:-
Logical operators are used to write combine conditional operators.

Increment and Decrement Operators:-
Increment and Decrement operators are used to increment and decrement a variable’s values to print.

String Operators:-
String operators are used to combine variable and values this called as Concatenation and Concatenation assignment.

Ajay K
Follow me