the statement

if (!$foo && !$bar) { echo 'hi'; }

is typed as

if (!$foo && !bar) { echo 'hi'; }

(with the '$bar' mistyped as 'bar')

and i just found that PHP won't give error... is it true that the word bar is taken as a string literal... it seems a bit weird and sometimes it can give hard to catch error. many thanks.