Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108818 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34095 invoked from network); 3 Mar 2020 11:35:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Mar 2020 11:35:27 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9F4411804D8 for ; Tue, 3 Mar 2020 01:54:35 -0800 (PST) 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLY, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS 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-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (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 ; Tue, 3 Mar 2020 01:54:35 -0800 (PST) Received: by mail-lj1-f178.google.com with SMTP id 195so2817610ljf.3 for ; Tue, 03 Mar 2020 01:54:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UZ7aR+wjRzCpFBoikI8V6KpDQ3ix27spr+yzSv9Qbas=; b=XAPT+Oc0TtMHG9zZ6l6pd5ZwZCwIQagWeBJmikBpHtwHOVg4fCEpOhdrKkcj41d48h 5vpG+nPNanUnnKeBsSi6lb1kXEAqAzeIg+pLh6pNGL2BinHkBqZvfhNH0qaRO8U2tq/8 qaDGrtx5zAyPQ13rY3RlbLve6oKV1+AO4sWs/eOZAlQKnte0rR7rAImKl4NuUhvhsAIp Wn5Y9M+zLmtooEzf4jVZ9S+NfHttwI+0WFpX+kn5oYTylMSM5E1B8m9dicNpJpSvf6uQ YzaPQ2P3W4/DJllq0p+T0bfYKuISloAsnJqn7lfOshO/mX8oy1i0b6jfmXgTVxwLKr6p jypg== 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=UZ7aR+wjRzCpFBoikI8V6KpDQ3ix27spr+yzSv9Qbas=; b=cglv4W9qrh5sB1jOjEMfI4DB7hGr5Tq0sn4J8D0PFkxHtfCR7Ymv5HjZPned1G810o glyl4ha/++eWTr2RFGMn9Pn6CSPCfcAHmf5T75ClFa4fdK6HLxd5Qu2hwBDcSDEzpJs5 HlVkSX55yN2SYx7Zdpuz/WzZIRji08OkR625BDLlzpRDVK4Rj22uMjFmnA9iZaOzywjL FiVrGDX7xEFWm68QYbpnx+Ll6fOzpcVKbDQxQ8dv9ne0bTXgA5dNbkRXICNaaiaOppZs a1g+oKIGwfcAKp1sTTiFHaIKrv4g1lYE0uHI1SHA4mJIWSOZJNbnf7MbUxgMcvTDPPrR /pdA== X-Gm-Message-State: ANhLgQ06jNWUZG23orrTk/Eo7jLcPtelsvzTCghlygGrsH0arfu98M7l a+u6+VhpWkf1uF1mykX+GWqFsJt//MobJDIGh9o= X-Google-Smtp-Source: ADFU+vuELlsR8LhYQRwARuYBw1bPTLYeCjbp3o893wlxpLy66S4mVMPrcgTkGjTsacSYnGxA7oNMLNRMXjCCaryDH0c= X-Received: by 2002:a2e:93c5:: with SMTP id p5mr1911776ljh.192.1583229273753; Tue, 03 Mar 2020 01:54:33 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Tue, 3 Mar 2020 10:54:17 +0100 Message-ID: To: Nicolas Grekas Cc: PHP Internals List Content-Type: multipart/alternative; boundary="00000000000075ce65059ff04afb" Subject: Re: [PHP-DEV] Re: [VOTE] Stringable From: nikita.ppv@gmail.com (Nikita Popov) --00000000000075ce65059ff04afb Content-Type: text/plain; charset="UTF-8" On Thu, Feb 27, 2020 at 9:49 AM Nicolas Grekas wrote: > Hello everyone, > > I happy to open the vote for the Stringable RFC: > > https://wiki.php.net/rfc/stringable#vote > > > > The vote will stay open until 2020-02-26. > > > > The proposal has been accepted with 29 "Yes" votes and 9 "No. > > The vote is now closed, the RFC page updated and the PR on GitHub is ready > to merge. > > Thank you! > > Nicolas > Ironically, this broke Symfony ;) > Fatal error: Access level to class@anonymous::__toString() must be public (as in class Stringable) in /home/vsts/work/1/s/symfony/src/Symfony/Component/String/Tests/LazyStringTest.php(110) : eval()'d code on line 1 But it seems that this was already a warning before: > Warning: The magic method __toString() must have public visibility and cannot be static in /in/3m4Za on line 4 So it doesn't seem like a big issue in practice. Nikita --00000000000075ce65059ff04afb--