Okay, I did that self help thing and discovered that as of PHP 4, the "===" comparison checks for equality AND same type. So the source code I quoted is fine, and correct.
There are many instances of "===" in my X-Cart source files.
__________________
Mark J Kaufman
X-Cart Gold 4.0.13
Linux, Apache, PHP 4.4.0, Perl 5.006001
LisaKaufmanDesigns.com
|