> From: Andi Gutmans [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 22, 2003 11:58 PM
 
> At 11:49 PM 10/22/2003 +0200, Ard Biesheuvel wrote:
> >>Err .. I don't agree.
> >>Null means no data
> >>False means error.
> >
> >Maybe historically (PHP-wise) it does.
> >But the way I see it, every fetch() can 'fail' for two reasons: an
> >expected well-defined reason (eof), and an unexpected undefined reason
> >(error). Labelling the well-defined reason as 'false' and the undefined
> >reason as 'null' is really quite defendable.
> 
> 
> This isn't something I'd like to see changed. I actually think there are
> probably lots of people who do !== false and we could screw up a lot of
> scripts. I see the advantage of being able to tell the difference but I
> think it's not big enough to change it now.

Not even in php5?

Regards,
Lukas

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

Reply via email to