![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.php archive0 vs false
From: <esingley@gmail.com>
Date: Mon Apr 24 2006 - 04:42:02 CEST
So, this was driving me insane today, and I'm sure there's an easy
Say I have an expression where 0 is acceptable as a TRUE response. But
if (strpos("foo bar", "foo")) {
This should evaluate to TRUE, but it doesn't since it finds "food" at
I tried casting, isset, is_null, and a few other siller options. I
Thanks.
|