"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. :)
Don't use nulls as values and you won't have to use hacks. null is not a value, was never meant to be a value, and won't be a value.
Let's get this thread over with...
Zeev
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php