[PHP] Variable Fun

2003-01-30 Thread James E Hicks III
This code: ? $var1 = 02061030012452; $var2 = 02061030012451; $test1 = (string) $var1 $test2 = (string) $var2; echo gettype($test2).---.gettype($test1).BRBR; echo $test2.---.$test1.BRBR; if ( $test2 != $test1){ echo (The variables are not equal.); } ? Produces the following output

Re: [PHP] Variable Fun

2003-01-30 Thread Jason Wong
On Friday 31 January 2003 05:55, James E Hicks III wrote: This code: ? $var1 = 02061030012452; $var2 = 02061030012451; $test1 = (string) $var1 $test2 = (string) $var2; echo gettype($test2).---.gettype($test1).BRBR; echo $test2.---.$test1.BRBR; if ( $test2 != $test1){ echo