Stanislav Malyshev wrote: > Yeah compare_function can actually return more than 1, 0 and -1, esp. > for arrays but maybe . I'm not sure if we should change this or not. It > should be pretty easy to fix, just not sure why it's this way now - see > zend_compare_arrays and down to zend_hash_compare.
FWIW: the documentation has already been adjusted by Peter (salathe): <https://svn.php.net/viewvc?view=revision&revision=336683> <http://docs.php.net/manual/en/language.operators.comparison.php> -- Christoph M. Becker -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php