Re: [PHP] A silly question. :P

2002-03-08 Thread Billy S Halsey
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

Re: [PHP] A silly question. :P

2002-03-08 Thread Erik Price
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 to

RE: [PHP] A silly question. :P

2002-03-07 Thread Jason Murray
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: