[thelist] PHP Header oddness

Steve Lewis nepolon at worlddomination.net
Fri Oct 7 10:56:49 CDT 2005


Jay Blanchard wrote:

>        if($retval) {

> It may be, but in the statement above it ALWAYS evaluates to TRUE, you must
> test for the value;
> 
> if(FALSE === $retval) 

Did PHP5 break the definition of a boolean evaluation and I didn't notice?

-- 
SteveL

"Salma Hayek is to report to my pavilion immediately (bring a negligee 
and 4 pints of chubby hubby)."
-Chad Robinson, The Poor Man Cafe


More information about the thelist mailing list