Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109284 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 6468 invoked from network); 25 Mar 2020 12:20:17 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 25 Mar 2020 12:20:17 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 2CD881804C5 for ; Wed, 25 Mar 2020 03:44:55 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 25 Mar 2020 03:44:54 -0700 (PDT) Received: by mail-wr1-f42.google.com with SMTP id p10so2341940wrt.6 for ; Wed, 25 Mar 2020 03:44:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=qiIoQWIf0oI0lESBaSlxiHvU6VVj7Yvhfxwkx04oDE0=; b=YuBOdw4Cg4WqDejOlmhfXXPWDDOsByNiJnuMgIP64cHdMqXyQLzy13u3LQO9RTjAxP JPYPnmIqgQkblZMi6njVT/urNpovC+j0gg/chuPsqdLIRtlmBtFybkt0hxVdPNqbvXAv eQZOt/T0gjN0yKkzfdgLerg3B6/Cg8PeB1nZGSnQugMxgUua7Xxp8STXy77j8AFnTBuL fcpCNh6jUkiK8YDs1fRBGubGuCsPMmegkoNFKm3ImCl2vvxyB13qrZjoQx63zIpGTFJ+ 7fliksimqjVNsSV/qqaXNaP3shElJtea8UJduPC1zMbz8oYtfvrcIOr/JJtJssy5iZOY 3+dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=qiIoQWIf0oI0lESBaSlxiHvU6VVj7Yvhfxwkx04oDE0=; b=GRKyOVutv5FjFPu4PDrHAjJZkTZyQV5dnbWFD9whYwPY8FhdMNof7n6S2xTjrQWBxn yjA5iPVh+3Jp9eVagnPc/IgYNy6tOAbPTWLHpQG3i8vXysT2L1xOsunyca5FkgPrtzW6 yuHJLjF4PZvZsh84DVrh9IM9HGMuEzXfyHu+syA8mvAxFiidWQSThZ29AwPf42YFODD/ 1TFfF55Mv/fnHdwY84UOaMANjbLZv3WEB3Q3Fbxa14tTzGpEXQo9deZNoo4nJ0vsfF+h KwA3OgeJ9EoS/vq8Rjgqllj2gAjo5bA5Zode5OFRWzK63Qr2ZtimN7/sKEzp81JAooYM HMWA== X-Gm-Message-State: ANhLgQ14dkO4gO92Hk457NV91a5U9hSpoLz5I0YmTAgUltWaEGJN8DH2 3ueMiNUTNM2ui2SvgVtEn8SmlAmY+AdChWxkV6dIeg== X-Google-Smtp-Source: ADFU+vswoB3XFETiuxvfPWHPYDJsMrZZe/wBvc5RK8nYs9rOF+xub749v1goAZvUNLGPPEzo6kUYSdp+ZSLqLNELPpk= X-Received: by 2002:a5d:4c87:: with SMTP id z7mr2934821wrs.39.1585133090621; Wed, 25 Mar 2020 03:44:50 -0700 (PDT) MIME-Version: 1.0 References: <003701d6013c$9afe9750$d0fbc5f0$@gmx.de> In-Reply-To: <003701d6013c$9afe9750$d0fbc5f0$@gmx.de> Date: Wed, 25 Mar 2020 11:44:38 +0100 Message-ID: To: jan.h.boehmer@gmx.de Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000c9def705a1ab8e1b" Subject: Re: [PHP-DEV] [VOTE] Userspace operator overloading From: kontakt@beberlei.de (Benjamin Eberlei) --000000000000c9def705a1ab8e1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 23, 2020 at 6:58 PM wrote: > Hi internals, > > I have opened voting on > https://wiki.php.net/rfc/userspace_operator_overloading, which allows > users > to overload operators in their own classes. > > Voting closes on 2020-04-06. > > Regards, > Jan B=C3=B6hmer > Thank you. I voted yes on this for similar reasons than Nikita. I think it is confusing to users why internal objects can overload these and userland can't. The simplicity of exposing this is another plus. The potential for misuse is a non issue for me, because essentially this applies to most features, especially with existing magic methods we have a precedent that we can build upon instead of "repressing use". > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --000000000000c9def705a1ab8e1b--