Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117771 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98799 invoked from network); 23 May 2022 13:07:12 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 23 May 2022 13:07:12 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D9C0D18037E for ; Mon, 23 May 2022 07:49:12 -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.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HK_RANDOM_ENVFROM, HK_RANDOM_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE 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-vs1-f47.google.com (mail-vs1-f47.google.com [209.85.217.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 23 May 2022 07:49:12 -0700 (PDT) Received: by mail-vs1-f47.google.com with SMTP id m2so15259062vsr.8 for ; Mon, 23 May 2022 07:49:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=BdlEH7IyujX60w8DrY8QiSIQoYBBnFbz8BEzh1MGIds=; b=MIU3gGukynPvvvAw8brW9z9pMledFJqHkJYnbeBA3lhYCR9q+RNrW8VfyfMg8W4LAp hTVtpFxVb9iHLLTjtmrLadlgNVlK9QmzcsZu554I2LP+9CES7MXIgyl1Qqo3KBU6Afok HUrk5SkRYkO3tAgBiXa8SKztLRJ1vbdbfjtwrPCX+I2hzfd+yx2te0+sIKI6xxPGB4pq abuKkkTsrOI8vAqDQclkwG58fK20tQcakgZ8Z1G1GwN5fLLbpXUoQW2T9gbMzaNbnXCX +UpB3RE+UZH8LSPZrCW5q7d2A3vPjNI2shFZfGLUjCAz+4U10RTdtBcTD7yJN8lbdhJz nQFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BdlEH7IyujX60w8DrY8QiSIQoYBBnFbz8BEzh1MGIds=; b=0g5FIVOwyA3BgjcWc24Tod4I0VDVtbqh9lA5Fz4MjxZeivuLjT/HXy+3ev7eTlFxAm BEciko3VimPOLOxRTSLW24ejpp3XdiKnfvsGjQsyL0B7Yap2yVM9tLhcQpLxOfId8UFj wEn0LcsiLPjE/T2zPZ6/dLTf1Mrjart11W9ZzbIgayC8YeGlzJEbvP/Wg/vx6SM+cFoY 5BWz84oSiJrNF6O9UJLNCu4FSP90WfUyKcvibBJLgwVDIGHlHc0iO6iyI24XMA6UbIMG ERRVBmZKLcDLI9zWTLjZRa4+fs22GjeofaTOAR6I9MlnAoHHhwrrUSt4pkKZpg8Hvkwq jw/Q== X-Gm-Message-State: AOAM533y+qGRbl5UFgHtpehuLLKiUM7765JIn6tnR+4BYYCiaNnOc8/L Pm42zyfp27K63/EYNN/JWuwaB7ojdjv7SgG2fJ1Vg6zuTLk= X-Google-Smtp-Source: ABdhPJzU9XVbEmHbGWEmHv84jvIW9simJOwXoDzNMv6s8B+g2AWy+OA88wi1P25SASVhOombbavrlcV41vfiwto6wXE= X-Received: by 2002:a67:ae4a:0:b0:337:b48f:9868 with SMTP id u10-20020a67ae4a000000b00337b48f9868mr1952213vsh.61.1653317351778; Mon, 23 May 2022 07:49:11 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 23 May 2022 18:48:59 +0400 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset="UTF-8" Subject: [RFC] Body-less methods From: roxblnfk@gmail.com (ROX) Hello there. I would intend a proposal about body-less methods. You can read RFC draft here: https://github.com/php/php-src/issues/8420 The similar topic about body-less constructors was discussed a year ago (https://externals.io/message/114324). There wasn't consensus in the discussion and RFC has not been created. My proposal describes the ability to make body-less methods and constructors. I focus on Developer eXperience and language consistency. I made an implementation and I am ready to update it on RFC changes. Also I need RFC carma to move it in the PHP wiki. Feedback is welcome. Thank you.