Re: comparing a string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:28 PM -0500 6/21/06, Rafael wrote:

snip
	The only possible values of strcmp() are: 1, 0 & -1.

Hmmm. My manual says: "Compares two strings; returns a number less than 0 if the first string is less than the second, 0 if the two strings are equal, and a number greater than 0 if the first string is greater than the second." Sounds like values other than -1, 0, and +1 are possible.

     -----===== Bill =====-----
--

You never know who's right, but you always know who's in charge.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux