By 03/02/2016 7 Comments

The 3 different equals (===) sign in PHP

  • This is (=) the assignment operator.
  • This is (==) theĀ ‘equal’ comparison operator.
  • This is (===) theĀ ‘identical’ comparison operator.


Example:

$a = $b     Assign      Sets $a to be equal to $b.
$a == $b    Equal       TRUE if $a is equal to $b.
$a === $b   Identical   TRUE if $a is equal to $b, and they are of the same type. (introduced in PHP 4) 

  • For more information and situations to use each please visit The docs.






Posted in: PHP, Solutions

Leave your valuable Comment

Have a natural attraction for women cosmetics and replica watches uk clothes, no
more than two for men the most attractive one, is to make their own driving experience, happy and can serve as the facade of the car, another is to highlight the taste edify sentiment rolex replica watch. The replica rolex is undoubtedly the most fashionable accessories, wear a suit to attend the activities, but also get a decent match on the replica watches .