The === comparison operator.

with Ulysses sub forum
Site Admin
Posts: 178
Joined: Tue Sep 29, 2009 6:25 pm
Location: Moss Norway

The === comparison operator.

Postby KBleivik » Mon Jun 13, 2011 11:06 pm

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: ... arison.php

See also an example:

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

Return to “PHP 6 and later”

Who is online

Users browsing this forum: No registered users and 1 guest