Yes, if you want to examine if a variable is set or not, then you should use isset().
So do you recommend using isset($name) instead of ($name) ? And what are you meaning by setting the var as in var $name ? i usually set them in classes but how about in normal scripts and functions ?
Exactly how a variable should be set, well it could be for instance var $age:int;
But you could also do both things at the same time, for instance that you PHP5 can make class type hints about the parameters to a method, but you can also not do it.
/Martin
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php