Re: [PHP-DEV] zend_compare & co

2001-10-06 Thread Andi Gutmans
At 01:40 AM 10/6/2001 +0200, [EMAIL PROTECTED] wrote: >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? I think Zend's internal compare functions where normalized a while ago

[PHP-DEV] zend_compare & co

2001-10-05 Thread jeroen
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 -- PHP Development Mailin