PHP Operators Index

PHP operators are used to compare two values. It is an expression that takes one or more values and produce another value such that $a+$b where + sign is an operator and a, b are two variable.

PHP operators are two types: 
  • Unary Operator and
  • Binary Operator
Unary Operator: Unary means one. PHP unary operator can take only one value, for an example ++,-- operator. We use ++ operator to increment value and -- operator to decrement value. 
Binary Operator: Binary operator can take two value such that + operator, - operator etc. For an example, $a+$b.

Some PHP operators are plus + operator, minus - operator, * multiply operator, / divide operator and so on. We can divide all PHP operators into different types. Before entering the dept of our PHP tutorial we need to understand each operator clearly. Here is the lists of all PHP operator.
PHP Operators Index:
  • Arithmetic Operators
  • Assignment Operators
  • Comparison Operators
  • Bitwise Operators
  • Incrementing Operators
  • Decrementing Operators
  • Logical Operators
  • Array Operators
  • String Operators
In this PHP tutorial section we will discuss all PHP operators with example. Let's start and learn PHP operators.

Comments

Popular posts from this blog

How to show only month and year fields in android Date-picker?

How to construct a B+ tree with example

Conflict Serializability in database