What is Operator? how many opeartor used in the php

In mathematics and sometimes in computer programming, an operator is a character that represents an action, as for example x is an arithmetic operator that represents multiplication. In computer programs, one of the most familiar sets of operators, the Boolean operators, is used to work with true/false values. Boolean operators include AND, OR, NOT (or AND NOT), and NEAR. These (and variations such as XOR) are used in logic gate s. You may have used Boolean operators in a search engine , by entering a phrase such as Galileo AND satellite (some search engines require the operator be capitalized) to find information. Among the other types of operators used in computer programming are: assignment operators , which assign a specified value to another value and relational operators , which compare two values.
 
Operators are used to perform various operation on variables and their values.
Following is the list of operators used in PHP-
1. Arithmetic operators
2. Assignment operators
3. Comparison operators
4. Increment/Decrement operators
5. Logical operators
6. String operators
7. Array Operators
 
In mathematics and sometimes in computer programming, an operator is a character that represents an action, as for example x is an arithmetic operator that represents multiplication. In computer programs, one of the most familiar sets of operators, the Boolean operators, is used to work with true/false values. Boolean operators include AND, OR, NOT (or AND NOT), and NEAR. These (and variations such as XOR) are used in logic gate s.
 
Operator is a one type of function. It used to perform various types of function.

- Assignment operator
- Comparison operator
- Arithmetic operator
- String operator
- Logical opeerator
- Increment or decrement operator
 
Back
Top