Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81056 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95393 invoked from network); 23 Jan 2015 23:42:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Jan 2015 23:42:58 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.43 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.43 mail-pa0-f43.google.com Received: from [209.85.220.43] ([209.85.220.43:56045] helo=mail-pa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AB/20-28190-28CD2C45 for ; Fri, 23 Jan 2015 18:42:58 -0500 Received: by mail-pa0-f43.google.com with SMTP id eu11so259666pac.2 for ; Fri, 23 Jan 2015 15:42:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=vDpqISGsMcw2JtBw7KY32yj4DjY/fH0ak8st3TDsDDQ=; b=tfgpDgGS/pB5IINjWKARCKpLQrr2wCBEI1opdfybbt07WvrAj2orUdWu9zNkuV8GWz elesu+NMlI39R1Wvc0/a4RI5tHo4AkNomStXb0ps7xnHe9ILNRGS8NEyOkMjave7DJ1c ixIboGfzufYKz5EFgY/P6la/evsnXi5a/NOPd2rNU9VSkyGuh8+ogF7snzBVIqdPlnCU RrHJtwnVbTvcShXPaQ/eY8wA5979obhZMaCnPTdOizZQmvJE8kDetCbC17Uwo9nc7d/F MIPiFXKGZqdFvOsFVT403ODM8nNrfMiaQXrbyzNTGcJe0q8hx/koA91dnt/FXb4R8JNe Crsg== X-Received: by 10.70.137.238 with SMTP id ql14mr15529540pdb.94.1422056575540; Fri, 23 Jan 2015 15:42:55 -0800 (PST) Received: from stas-air.corp.wikimedia.org (tan1.corp.wikimedia.org. [198.73.209.1]) by mx.google.com with ESMTPSA id ns6sm2959017pbb.77.2015.01.23.15.42.54 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Jan 2015 15:42:54 -0800 (PST) Message-ID: <54C2DC7C.2060806@gmail.com> Date: Fri, 23 Jan 2015 15:42:52 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Yasuo Ohgaki , Andrea Faulds CC: Alain Williams , "internals@lists.php.net" References: <53F8A1FF-C809-4DDF-9C6F-6916C3E4F044@ajf.me> <3251D635-D97C-4738-B537-935A6CC21E19@ajf.me> <54C17E2B.80708@garfieldtech.com> <8858EE5D-7472-41F7-9C38-091043100ABF@ajf.me> <20150123100248.GQ26114@phcomp.co.uk> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Combined Comparison (Spaceship) Operator From: smalyshev@gmail.com (Stanislav Malyshev) 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