Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110004 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 60444 invoked from network); 5 May 2020 15:16:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 5 May 2020 15:16:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 19C5E1804C2 for ; Tue, 5 May 2020 06:51:37 -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_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-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.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 ; Tue, 5 May 2020 06:51:36 -0700 (PDT) Received: by mail-lf1-f42.google.com with SMTP id x73so1427235lfa.2 for ; Tue, 05 May 2020 06:51:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bZFXWKpeSKJL4eUp6CCvIeFnv7dThyznw88S/fESLFk=; b=bxF0uWdkD/qqDHZhRo+y55o+M6SCf6VlK2tTxQw9XsE1x7p8TtEvd76bAIJt+sSh46 NYLZe2pxtNGmN5JucHeo2PybJPmbeQdpIcq05QBiNCdhxy2vSsX3i2jR7wSP5j6xF37E l05TQYweLvH7WQGvtf5ItlzQBkaJI020MbR13eKflootGVRW4JRtDpN0w5oJwv61YeWr Ma0kgbVY2klC1rd6E2lu9gzhlz9/yr1p3vldzLHlSwtualKaC6ZJeUOsWtzYQXMjZWLM fNDPaMigwa3vdmU50PJQyukxZ1J+ow+/zR9i+jZTRH/y46daUhJWsXDAf6uk+1TaaY9M XVPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bZFXWKpeSKJL4eUp6CCvIeFnv7dThyznw88S/fESLFk=; b=gYyAxYE3L1dCx00uqKeUoZpxg3wkvnjGINYJEcPdTgD/GDGNT4WgCvw5VHyBtvLj73 G2F/9JbrkchwrLEyoRx6thJnEoEXax2Oi8zFCsCuY4SLJlkOuEkhJt+uG/XUz/vpJhrC WQxq9RcnZbG5q4RlsjODGet82Rj7HURpG0DrhG7Hsqv0vzvla1yciRebwhLTi0i/0Aiw mD52Gbtn/CvYd1LgyHGFxIfucgDj2Emydg39S8mwtWY66Q805y57qJjpSWtzqhx+FS1m 5HBYWPMlCxTuqULJOjKK7XeDT20wciHfa2RLjyzrZ2Ew4k9+tgE7mCqB9HBaSppDHC9M JcTQ== X-Gm-Message-State: AGi0PubxboeZqwfIjT53HkCsPqUzRkaqARzdXHiHlsZJQZD+Z+AaBOxo MAIrxeg9O5Ia9V6/Hl92cMQME9wq24WoCpoes+eXTVa4mRA= X-Google-Smtp-Source: APiQypLzJuz+DCf7D/mV6B6vZAxhSIAdz/12PcxWnU69lTJAusFD7a60GtuGZoMeyFkjNJJSBr5pNIOiw2UQhAOy+VU= X-Received: by 2002:ac2:5315:: with SMTP id c21mr1859901lfh.154.1588686694511; Tue, 05 May 2020 06:51:34 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 5 May 2020 15:51:18 +0200 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary="00000000000015fa3005a4e6f224" Subject: [RFC] Named arguments From: nikita.ppv@gmail.com (Nikita Popov) --00000000000015fa3005a4e6f224 Content-Type: text/plain; charset="UTF-8" Hi internals, I've recently started a thread on resurrecting the named arguments proposal (https://externals.io/message/109549), as this has come up tangentially in some recent discussions around attributes and around object ergonomics. I've now updated the old proposal on this topic, and moved it back under discussion: https://wiki.php.net/rfc/named_params Relative to the last time I've proposed this around PHP 5.6 times, I think we're technically in a much better spot now when it comes to the support for internal functions, thanks to the stubs work. I think the recent acceptance of the attributes proposal also makes this a good time to bring it up again, as phpdoc annotations have historically had support for named arguments, and this will make migration to the language-provided attributes smoother. Regards, Nikita --00000000000015fa3005a4e6f224--