The === comparison operator.

with Ulysses sub forum
Post Reply
KBleivik
Site Admin
Posts: 184
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway
Contact:

The === comparison operator.

Post by KBleivik »

The php === comparison operator is not well known.
$a == $b Equal TRUE if $a is equal to $b after type juggling.

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

Source: http://de3.php.net/manual/en/language.o ... arison.php

See also an example: http://php.net/array_search

Related link: PHP and the great "===" operator

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests