Re: [RFC] Combined Comparison (Spaceship) Operator

From: Date: Fri, 23 Jan 2015 23:42:52 +0000
Subject: Re: [RFC] Combined Comparison (Spaceship) Operator
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-81056@lists.php.net to get a copy of this message
Hi! > The only reasonable behavior for <==>, <==, >== would be raising > error/exception if type differs. > E_RECOVERABLE_ERROR may be used. Comparison operators raising exceptions doesn't sound like a very nice thing to work with. -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#81056) next »