Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

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.
ex:-

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

ex:-

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

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

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

Rajesh Kumar
Follow me