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,

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! --