Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114895 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 28476 invoked from network); 15 Jun 2021 20:55:33 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 15 Jun 2021 20:55:33 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 908411804A8 for ; Tue, 15 Jun 2021 14:12:08 -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=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f53.google.com (mail-ot1-f53.google.com [209.85.210.53]) (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, 15 Jun 2021 14:12:08 -0700 (PDT) Received: by mail-ot1-f53.google.com with SMTP id p5-20020a9d45450000b029043ee61dce6bso299662oti.8 for ; Tue, 15 Jun 2021 14:12:08 -0700 (PDT) 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=yNx2diq/XNBVBXENlfwcLipIpplTH/8az9VJVWGGAxc=; b=fWcdixKIqE0OnORPzPdN/xbgsxwqul1fJlKJjEG/15Tcsf+vSbdtJRInLnREFmg/ZE mUqd9zuaO+O0Rl2QKHMFMF/fTY3v4rWH1ujHr5uYwIz8IoWTgjX275N1NOXhD2BcNyxI zUn1O/TJc4sMwrupeaoSLSh4U5B2LdA4TK4envS4bU3+EpOeSXWnNl6p6b9gYL66PrQ4 7MU/EKeLOIDN05vo//suknD0nFqh7EvR9V0nj0K9lgxvnqpZ3uyDpEusr81D7uW4lZE2 0s/M25uDWIVjY/eA/0T6L4E8iHgLvOrSVmnLoTtoEYRHT1mq+KLIrcHDQD8+9BDv4h6l AEuA== 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=yNx2diq/XNBVBXENlfwcLipIpplTH/8az9VJVWGGAxc=; b=SGVloD59G/a+yKjwiQJrf5SxcCqjWkzzftzeXOD/brB+Fr946GX8FizgctL97J+E33 WMIlKJZrNKtAvEZUI57t8iMa85H5nWwz/W50nCIOQVitaOcVBixfXl3jRo4suQQYs7uc 16v3sMig2z7Y/D3YaRlssouzD8RLab57QhpqqwDRCsW9Z34g+INjmE52Y72gkOdnTl+s TWALMUXLGPKMHN0Q3vpTbikUz9Tl5EW1wUhsUeG2IL4njgDejz23n62E9s1FtTe6FFNn YovpPUBWvp6ay5YtjLjqbsdiQYJW9UyyXa+6lMCBldl7+7iWFFKkefo7JWc+vWsErCVR iwwg== X-Gm-Message-State: AOAM531g74Ks5ipeQRj+WZcgmTlDIrcgL2ruOQNyFb+BdIKt4fQ7NXYy vZ2RXVnkM2WfbNkX7leWPPs7hpkZSjEdgKasX1wli2/7 X-Google-Smtp-Source: ABdhPJxlwPwEaTCDXRI3ycUndfuRD50PSd21P01jANHcibcDQ+OKnU66v+irrw5rtrtbpOLlGs34n17VfwAy88S2R2E= X-Received: by 2002:a9d:664e:: with SMTP id q14mr939319otm.221.1623791525483; Tue, 15 Jun 2021 14:12:05 -0700 (PDT) MIME-Version: 1.0 References: <78321294-b416-4d0d-a170-3f6f424ea7b4@www.fastmail.com> In-Reply-To: <78321294-b416-4d0d-a170-3f6f424ea7b4@www.fastmail.com> Date: Tue, 15 Jun 2021 23:11:54 +0200 Message-ID: To: Larry Garfield Cc: php internals Content-Type: multipart/alternative; boundary="00000000000010daf905c4d46d79" Subject: Re: [PHP-DEV] Rename Fiber::this() to Fiber::getCurrent() From: krakjoe@gmail.com (Joe Watkins) --00000000000010daf905c4d46d79 Content-Type: text/plain; charset="UTF-8" This doesn't look like the sort of detail we need to vote on. It would be nice if this were made in time for the migration guide and other doc to be prepared for 8.1. Let's move forward, please ... Cheers Joe On Tue, 15 Jun 2021 at 21:54, Larry Garfield wrote: > On Tue, Jun 15, 2021, at 2:01 PM, Aaron Piotrowski wrote: > > Hi all, > > > > During the Fiber RFC vote, several people noted that they objected to > > the name Fiber::this() for the method returning the currently executing > > Fiber object. > > > > I'd like to propose renaming this method to Fiber::getCurrent(). A > > simple PR for the rename: https://github.com/php/php-src/pull/7155 > > Nothing has functionally changed about the method, only the name. > > > > Fiber::current() is another possibility, but was not chosen because it > > may be conflated with Iterator::current(). > > > > Does anyone object to this rename? Shall we have a vote or is that not > > necessary? > > > > Cheers, > > Aaron Piotrowski > > I support this change, and don't think it needs an RFC. I would vote for > it if it were necessary, though. > > --Larry Garfield > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: https://www.php.net/unsub.php > > --00000000000010daf905c4d46d79--