I've noticed that in the last release of php 4.3.7 (or 5.0.0), that
when checking the value of a variable has changed.

ex:

if($var){ /* do something */ }

doesn't work anymore. I've had to change code to

if($var > 0)

but the problem is, what if $var was converted to $var = "0" instead
of $var = 0 somewhere throughout the code that I didn't know about?

Is there a way to be sure what's going on here?

-- 
-Josh

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to