Operator
Operators are symbols used to manipulate numbers and variables in some way.
1. Arithmetic operators 2. Increment/decrement operators
3. Comparison operators 4. Logical operators
5. Bitwise operators 6. Other operators
The type of operator in <?php/* php: 1: Arithmetic Operators &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;2: Increment/decrement operator 3: Comparison Operators &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;4: Logical Operators &NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;5: Bitwise operators 6: Other operators *//*1: arithmetic operators $a = 100; $b = 200; $c = $a + $b, $d = $c -300, $e = $c, $f = $e/3, $g = 5%3;echo ' $c = '. $c. ' $d = '. $d. ' $e = '. $e. ' $f = '. The remainder of $f. ' 5/3 is: '. $g; *//* 2: increment/decrement operator $a = $a +1; $a +=1; $a ++; ++ $a; --$a; $a--; $a = 1; $c = 10 + $a ++; echo "
Backing net PHP Eighth lesson