Re: [PHP] Re: Weird comparison error.

2003-06-30 Thread Rob Adams
"Lars Torben Wilson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sat, 2003-06-28 at 11:28, Bobby Patel wrote: > > In PHP there are two operators for comparisons, the double and triple > > equivalance. > > > > Double equivalance just check's the boolean type so if (0 == 'n') is

Re: [PHP] Re: Weird comparison error.

2003-06-28 Thread Lars Torben Wilson
On Sat, 2003-06-28 at 11:28, Bobby Patel wrote: > In PHP there are two operators for comparisons, the double and triple > equivalance. > > Double equivalance just check's the boolean type so if (0 == 'n') is > translated to if (False == False), where as triple equivalance checks the > data types a

[PHP] Re: Weird comparison error.

2003-06-28 Thread Bobby Patel
In PHP there are two operators for comparisons, the double and triple equivalance. Double equivalance just check's the boolean type so if (0 == 'n') is translated to if (False == False), where as triple equivalance checks the data types as well so if (0==='n') becomes if (Int(False)==String(False)