zend_compare & co

From: Date: Fri, 05 Oct 2001 23:40:52 +0000
Subject: zend_compare & co
Groups: php.dev 
Request: Send a blank email to php-dev+get-67389@lists.php.net to get a copy of this message
Can you trust on the compare functions to return either -1, 0 or 1? I don't think so... but since that assumption is made in various locations in PHP4, it maybe is true? Similar question for zend booleans, can you trust the lval to be either 0 or 1, or not? --Jeroen

« previous php.dev (#67389) next »