Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:124068 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 763281A009C for ; Sat, 29 Jun 2024 23:29:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1719703828; bh=bTwUSSakZI3E/O5O2AD9uPZmr+7ZfLh3p2+ovQnkS7Y=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=dxrqX64iPhtKqfo+pGtruT717wompaS/DoyVhzIoq4mAg2wU66Ehdi1NbwAqb4oIE VmqnDcI8JXGKQVE/62fiUpOFj7A8LcrxPVScLGewNrCVHu7A7wYz/hpwWbVxHYaqlz mtTEJ+rKYznPWpobxNbP+h4nkKKUk6Zn5b3oZwsLwoLBkHKvdTzyORUSPZNjYl/RZv 4kVQ5iQtI8r334DYdUrufvICxrxFSurFuKAEi/GBGux8AhmYONDiuzB70OMamN6YaK vK9sgFr1bN34HJUi3AcChEgGbldSYB4aqcFOa8IiVlIEPotyVW5mn+lb93HYMmJ+Ok m0y8kqfhEo6Fg== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E561618066C for ; Sat, 29 Jun 2024 23:30:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: Error (Cannot connect to unix socket '/var/run/clamav/clamd.ctl': connect: Connection refused) X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sat, 29 Jun 2024 23:30:26 +0000 (UTC) Received: from smtpclient.apple (71.153.159.133.rev.vmobile.jp [133.159.153.71]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id BE9104011B; Sun, 30 Jun 2024 08:29:00 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1719703740; bh=bTwUSSakZI3E/O5O2AD9uPZmr+7ZfLh3p2+ovQnkS7Y=; h=From:Subject:Date:References:Cc:In-Reply-To:To:From; b=M68qlkTCZFvhud1wfiySmEvRr4DLst2KySWiTmj/YEwGoxn9gHFjMYJETz8wSspNT kf/SyunyQ9n8V8AQFOOdevQuB7EV3P4Q49czLvCM6mMtE3O9OHW9wdSX25bhYijhj6 ZrD9v9y4gDBda8JZ1j63g8NBwPS6ogo1D9tx8Elc= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (1.0) Subject: Re: [PHP-DEV] [RFC] Operator Overrides -- Lite Edition Date: Sun, 30 Jun 2024 08:28:47 +0900 Message-ID: <50B4D759-03D3-45CA-87C0-757AFC4B67D0@sakiot.com> References: <256b79d4-713c-4547-953d-8bc8291da9f3@app.fastmail.com> Cc: "Gina P. Banyard" , internals@lists.php.net In-Reply-To: <256b79d4-713c-4547-953d-8bc8291da9f3@app.fastmail.com> To: Rob Landers X-Mailer: iPhone Mail (21F90) From: saki@sakiot.com (Saki Takamachi) Hi, > Hello internals, >=20 > I've updated the RFC to include final-ish examples (barring any further co= nstructive feedback), a prototype implementation, and an objections section.= >=20 > Cheers, >=20 > Rob It seems like the "hack" I mentioned is still possible, am I misunderstandin= g something? And I don't understand the purpose of polyfills at all. If you're not using t= he GMP extensions and can't do operator overloading, won't you just have a c= lass with protected methods that are never used and don't actually do anythi= ng? Regards, Saki=