string equality
| From: | Hardy Merrill | Date: | Mon, 16 Oct 2000 17:41:16 +0000 |
| Subject: | string equality | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-20407@lists.php.net to get a copy of this message | ||
I've been using the "==" operator to test equality of strings,
but am wondering if this is correct. I also know of the
php "strcmp" comparison operator - both seem to work OK, but
should I be using "strcmp" instead of "=="?
TIA.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com