On Mon, Jul 16, 2001 at 04:36:54AM -0700, elias wrote:
What is the '===' ?
Please give me an example.
( == false) is true
( === false) is false
re,
tc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
What is the '===' ?
You can not only compare if the content of two variables
is the same ($a == $b) - you can also compare the type (integer, float...)
$a = 1;
$b = 1;
$a == $b - TRUE
$a = 1;
$b = 1;
$a === $b - FALSE because $a is a STRING and $b is a INTEGER!
--
2 matches
Mail list logo