Re: string equality

From: Date: Mon, 16 Oct 2000 17:43:24 +0000
Subject: Re: string equality
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-20409@lists.php.net to get a copy of this message
Either or - that's the great thing about programming - it's a lot more subjective that we like to admin ;o) --Joe On Mon, Oct 16, 2000 at 01:41:16PM -0400, Hardy Merrill wrote: > 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 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net /*****************************\ * Joe Stump * * www.Care2.com * * Office: 650.328.0198 * * Extension: 122 * \*****************************/ http://www.miester.org/Joe/Stump/Joe_Stump_resume.html -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GB/E/IT d- s++:++ a? C++++ UL++$ P+ L+++$ E----! W+++$ N+@ o? K? w---! O-@ M+@ V-! P(++) PE(+) Y+@ PGP+++@ t+@ 5? R-! tv@ b+ DI++@ D(++++) G++@ e+@ h@ r+! z(+++++**)! ------END GEEK CODE BLOCK------

« previous php.general (#20409) next »