On Mon, Mar 16, 2009 at 6:46 PM, Stanislav Malyshev <s...@zend.com> wrote: > Hi! > >> Why do functions return NULL? (I know the technical answer, obviously, >> I'm interested in the design decision). If FALSE is the error >> condition, whats the point in a separate NULL error condition? > > Because false is not an error condition. It's a legitimate value, which can > be normal answer for many functions.
Is this not the case for NULL? Thanks, Paul -- Paul Biggar paul.big...@gmail.com -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php