Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81666 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80319 invoked from network); 2 Feb 2015 22:50:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Feb 2015 22:50:34 -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.45 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.220.45 mail-pa0-f45.google.com Received: from [209.85.220.45] ([209.85.220.45:59266] helo=mail-pa0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AE/6B-25089-83FFFC45 for ; Mon, 02 Feb 2015 17:50:33 -0500 Received: by mail-pa0-f45.google.com with SMTP id et14so88046985pad.4 for ; Mon, 02 Feb 2015 14:50:30 -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=fxKEBF6BdVglTgfv7TZJhe5I19Ib2FOWsywG9xLoTw4=; b=qfTXFiO9bEfAbACAu/cGQGs7gv1kzy85aO8BqUKHIOCLJ16WMYtWSd/AxIev65Cl/z RhICLjf+9xMd0CGRRgRXyd24usQrUMmZ074WnuMtij6sMgbrD+89G7Fe6Yni9nN603h4 dwpl5Ht/R3VMItkM/IqCRdqOLP8SUTvY4e8Rv9bSubT45fbg6NIH81TRxeYDcc7KvFy3 K44SfXezPHWZlFSWHh2lGXHYQWzr0W5uujRBBLEP7M60tbXcXwrDl12ip5r16fjGvWDG 3RKZlhKM9KtcD1XhMFkEfVgJ+BTbWUz7NcNwdf5sh6k8aOfFCsXNtHUXaGHTw4UQGpil 90Ig== X-Received: by 10.66.65.195 with SMTP id z3mr33215954pas.10.1422917430569; Mon, 02 Feb 2015 14:50:30 -0800 (PST) Received: from [192.168.2.145] (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id ej9sm112172pdb.1.2015.02.02.14.50.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Feb 2015 14:50:29 -0800 (PST) Message-ID: <54CFFF2D.5020108@gmail.com> Date: Mon, 02 Feb 2015 14:50:21 -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: =?UTF-8?B?UGF2ZWwgS291xZlpbA==?= CC: PHP Internals List References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE] Combined Comparison (Spaceship) Operator From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > I personally would use spaceship operator often, but only if PHP had > operator overloading for classes. So I hope it will pass and operator PHP has operator overloading for classes, but just for internal ones. See: https://wiki.php.net/rfc/operator_overloading_gmp For userspace ones, the feeling is unlimited overloading would be a bit too chaotic. -- Stas Malyshev smalyshev@gmail.com