Here is one reason: $x = @$y[3];
What should isset($x) return if $y doesn't have an
index 3?
If php had distinct concepts of "undefined" (perhaps
this would be a software level undefined value) and
"null" (perhaps this would be a built-in user level
undefined value), things would work very differ
I thought if you used something like:
if ((isset($x)) && is_null($)) {
...
}
it would work as it would hit the first condition and drop out if it is not
set before using it in the second.
I might be wrong. ;-)
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http: