* Thus wrote John ([EMAIL PROTECTED]): > Hi all > > This function I don't get at all, I hear all the time, "if you want to > practice smart coding then turn register globals off, and be sure you keep > query data out of your script that is not set or defined with something > expected". So why would there be a function that returns true or false, $var > is empty even if $var is not defined! Now I know you can do bool(), but the > function name (empty()) really states one thing "Does it have a value or (!) > not have value" and not "Does have a value or does (!) not have a value and > may be undefined too!" If you don't want to correct it then at least give a > warning if the $var being tested is undefined!~ >
For the life of me I cant find your question in there. Curt -- "My PHP key is worn out" PHP List stats since 1997: http://zirzow.dyndns.org/html/mlists/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php