>
> 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 ?
>

Hmm i was checking out a pear class, what about the variables within a
function ? like function

foo($name) {
 if ($name) {

 }
}

or

foo($name) {
 if (isset($name)) {

 }
}

it uses isset on variables coming outside the function

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

Reply via email to