should ZEND_FETCH_RESOURCE return false or null on failure?

From: Date: Tue, 09 Apr 2002 22:34:40 +0000
Subject: should ZEND_FETCH_RESOURCE return false or null on failure?
Groups: php.dev 
Request: Send a blank email to php-dev+get-82414@lists.php.net to get a copy of this message
http://bugs.php.net/15153 shows the resulting fun from this distinction. yes, the user should be checking the result of opendir(). unfortunately, the examples in the documentation didn't. (which i've fixed now.) jim

« previous php.dev (#82414) next »