Ilia Alshanetsky wrote:

On August 14, 2003 03:11 pm, walt boring wrote:


exactly why isset() is either
1) a bad name for the function or
2) 'broken'



Wrong. isset() has a very proper name "is-set", which to me and other people says that it will see if a variable is set (has a value). It does this job admirably and it certainly not broken. Documentation specifies how this function will perform perfectly.


Ilia



Then please explain the logic of why
$var = null

isset($var) returns false.

In your words "it will see if a variable is set (has a value)".

$var IS set and DOES have a value, it just happens to be a value of null.

W

Reply via email to