Question:
Is is_null() an alias for isset()?
Based on this statement and my understanding of both funcitons, it should
be.
Andi Gutmans [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
At 07:02 PM 5/3/2001 -0500, Andrei Zmievski wrote:
At 06:31 PM 5/3/01 -0500,
At 17:30 4/5/2001, Joe Brown wrote:
Question:
Is is_null() an alias for isset()?
Based on this statement and my understanding of both funcitons, it should
be.
No it's not, it's a function. As such, it cannot detect whether a variable
exists and has a null value, or is undefined completely.
On Fri, 4 May 2001, Zeev Suraski wrote:
At 17:30 4/5/2001, Joe Brown wrote:
Question:
Is is_null() an alias for isset()?
Based on this statement and my understanding of both funcitons, it should
be.
No it's not, it's a function. As such, it cannot detect whether a variable
exists and
At 06:31 PM 5/3/01 -0500, Richard Lynch wrote:
Um, lots of people use isset($row['foo]) to detect NULL in the database...
Are you going to change that behaviour?
Don't.
If the column is missing, they screwed up their SQL, which is not within the
pervue of PHP to fix in the first place...
You
At 07:02 PM 5/3/2001 -0500, Andrei Zmievski wrote:
At 06:31 PM 5/3/01 -0500, Richard Lynch wrote:
Um, lots of people use isset($row['foo]) to detect NULL in the database...
Are you going to change that behaviour?
Don't.
If the column is missing, they screwed up their SQL, which is not within
At 03:14 AM 5/4/01 +0300, Andi Gutmans wrote:
Not exactly. No matter if it is set to NULL or unset then isset() will
give the same result.
And most people use isset() AFAIK.
Whatever the current situation, there needs to be a way to check whether a
certain array entry is NULL or not.
-Andrei
At 07:16 PM 5/3/2001 -0500, Andrei Zmievski wrote:
At 03:14 AM 5/4/01 +0300, Andi Gutmans wrote:
Not exactly. No matter if it is set to NULL or unset then isset() will
give the same result.
And most people use isset() AFAIK.
Whatever the current situation, there needs to be a way to check