"Robert Cummings" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
> On Sat, 2003-08-16 at 18:28, Robert Cummings wrote:
> It is true that I could set the value to -1 or some such other hack, or
> that I could use array_keys() and then check the values of the resulting
> array, but these are hacks for a perfectly valid use of the value null
> and in inadequate isset() function.
I agree. If we can have one function to check this, it would be better than
writing PHP hacks. Any language that don't enforce variable declaration,
should have a well defined way to check whether a variable exists or not.
And we are talking about the variable, not the value it stores. :)

Cristiano Duarte



-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to