RE: [PHP] the triple equal sign?

2001-07-16 Thread Jochen Kaechelin
> 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! --

Re: [PHP] the triple equal sign?

2001-07-16 Thread Pavel Jartsev
elias wrote: > > What is the '===' ? > http://www.php.net/manual/en/language.operators.comparison.php -- Pavel a.k.a. Papi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list admin

Re: [PHP] the triple equal sign?

2001-07-16 Thread Thies C. Arntzen
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,