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.
Hello everyone,
I would like to know why you put this character (!) in front of this:
Do you see the (!) in front of the strcasecmp() function? That! Why do you put
that there?
I'm trying to learn PHP, but it's been kinda hard. THANKS A LOT GUYS!
-GENESiS DESiGNS
-Sean Kennedy
-http://www.g
4 matches
Mail list logo