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:-
PHP Fundamental Tutorials with Basic Demo by Chentan in 2020 – Part-1
PHP Fundamental Tutorials with Basic Demo by Chentan in 2020 – Part-2
Latest posts by Rajesh Kumar (see all)
- What is ZooKeeper? - April 29, 2024
- What is Mobile Virtual Network Operator? - April 18, 2024
- What is Solr? - April 17, 2024