On Thursday, March 7, 2002, at 11:50 PM, GENESiS DESiGNS wrote:
> I would like to know why you put this character (!) in front of this:
Nearly unanimously to all programming languages, the bang (!) symbol
indicates "not" or "negative" or "inverse" or "not true". So you use it
when you want
Greetings Sean,
The ! in front of strcasecmp means, "if strcasecmp returns zero." If you
look at the reference manual for strcasecmp and strcmp, you'll see that
it returns zero if the two strings are equivalent -- somewhat of a
strange return value, but (1) that's how C/C++ do it; and (2) it h
> I would like to know why you put this character (!) in front of this:
An ! means that the following statement should be false. So:
if (!isset($variable))
means "If $variable is not set"
Jason
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.
3 matches
Mail list logo