* Thus wrote Josh Close:
> I'm positive that it will always be set, 'cause I set it. It's just
> going the comparison.
>
> if($var)
>
> used to work for
>
> if($var != 0) or if($var != "0")
>
> but that doesn't seem to work since I upgrade. So I'm just going to do
>
> if((int)$var)
I still think this is unnecessary
if ("0") { echo '"0"'; }
if ("") { echo '""'; }
if (0) { echo 0; }
As I pointed out earlier, are still all the same; this behaviour
hasn't changed.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php