Operators are the symbols used for operation to manipulate values and variables. In General
There are three types of operators in PHP:
- Unary Operators
- Binary Operators
- Ternary Operators
Sharing is Everything:
You Might Also Like:
- PHP: Operators: Binary Operators Binary operators are used on two operands. Numeric Operators: All binary operators work on numeric operands excluding concatenation operator: Operator, Name Value and Operands: + Addition =>Sum of two operands – Subtraction =>Difference of two operands * Multiplication =>Product of two operands / Division =>Quotient of two operands % Modulus =>Modulus Operands are converted to … Continue reading PHP: Operators: Binary Operators →...
- Assignment Operators Assignment operators is used for writing values to the variables. Here the first operand must be a variable. The value of assignment operator is the final value assigned to the variable. Example: $value = 15 The above expression has the value 15 assigns 5 to $value. Several assignment operators are composites of an operator followed … Continue reading Assignment Operators →...
- PHP: DATA TYPES There are 8 data types in PHP out of which 5 are scalar. Variables hold the values of these data types. Variables react according to data types they hold. Following are the PHP data types: Integers Floating Point Numbers Strings: Single Quotes & Double Quotes Booleans Null Resources Arrays Constants (Related Tutorials)...