Re: Re: [RFC] Spaceship operator RFC

From: Date: Wed, 29 Apr 2015 23:29:37 +0000
Subject: Re: Re: [RFC] Spaceship operator RFC
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-86042@lists.php.net to get a copy of this message
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

« previous php.internals (#86042) next »