Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV]Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-04 Thread Sterling Hughes
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

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-04 Thread Zeev Suraski
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

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-04 Thread Joe Brown
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 -

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-03 Thread Andi Gutmans
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 che

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-03 Thread Andrei Zmievski
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. -Andre

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-03 Thread Andi Gutmans
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 i

Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-03 Thread Andrei Zmievski
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..

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-03 Thread Richard Lynch
> On Thu, 03 May 2001, Andi Gutmans wrote: > > Yeah but I'm afraid it'll make scripts be written on behavior which > > shouldn't be counted on. > > Maybe in future versions of Zend $array['foo'] won't be defined. There are > > certain situations where I think it was impossible to not define it so

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-03 Thread Cynic
insert "impossible" somewhere in the sentence to make it make sense. At 16:04 3.5. 2001, Cynic wrote the following: -- >Err, as you say, PHP should make things easy. I don't see how >making tell NULL from an undefined variable makes an

[PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Re: [PHP-QA] Re: [PHP-DEV] Release process

2001-05-03 Thread Cynic
Err, as you say, PHP should make things easy. I don't see how making tell NULL from an undefined variable makes anything easier. At 15:49 3.5. 2001, Andi Gutmans wrote the following: -- >At 08:48 AM 5/3/2001 -0500, Andrei Zmievski wro