Re: database driver: no more rows

From: Date: Wed, 22 Oct 2003 21:49:30 +0000
Subject: Re: database driver: no more rows
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-4919@lists.php.net to get a copy of this message
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. -- Ard

« previous php.internals (#4919) next »