Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110558 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 72587 invoked from network); 16 Jun 2020 01:49:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Jun 2020 01:49:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A353A180506 for ; Mon, 15 Jun 2020 17:35:04 -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=-0.7 required=5.0 tests=BAYES_05,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-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (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 ; Mon, 15 Jun 2020 17:35:04 -0700 (PDT) Received: by mail-lj1-f173.google.com with SMTP id n23so21373462ljh.7 for ; Mon, 15 Jun 2020 17:35:04 -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=OJ8oJEH9U5ZYIoGPCTsWE+/qor8P9WMHyIxd7wlcKz8=; b=kzTCb3lru2kt8R0919GibIt1T5A4tfeOqs6CjlIoDiFc4WRPKhyiOZmazvGHY8/NtX 0zYJj6G5edlbmtT9x1LCUKY4yMy0LoGuBaetcH00h/ZzVzeTtTRVMgOufr/csmgGTmwV kLWQK6zVLLYDKrAD47TorCWl3Bkiszs38IOJLMXwoA4mmehLX9CGZqgUmlB6OR4q8S8Y DCPOmKTiCBa2ses9m80TV5+8l7Tf4GNExRujhXT+16Ur4ULjP81cqC8YT9ttYBtj7UH/ wQSuGIqxQ4bdvV/KdkXJbYSaPTWpuAqqvAuAxGKctJQbwpl3HywugXDzRBcgYvMxbuso 9oEg== 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=OJ8oJEH9U5ZYIoGPCTsWE+/qor8P9WMHyIxd7wlcKz8=; b=oz5uvUzXdMFi2/Hi4Hjq9VHeXPvSW6ar+9H4FvKCVhrjyUgHxhvbMgJ//GoQB1YaMh TI5PlEYIxcCcEuVshZ81sTFoQY7igyUjJbsG/QIUm+OkeUJ9yspxuYHTU4Ty12l4weai N2OO8/44xVeZBw1gJEAMJsvLPiB60PHAJkfPwBItssMm94eQ6Ew+Y4aV5qbE0riiUUj3 DbIp0vZiOxkKrPDZLLOxDS2YFMREl/6a3iKlhRs+JwIxIV22JKDxTzPfBN+0FB1nilxw bcQc1ZOIh9IJ9aSwmEHRsq99dVvO7ciObxt31DrtKRgfnyUrOqLs96jz1WJoHQyBWD9j 3TXw== X-Gm-Message-State: AOAM531eCAGWn+3uc3VHf8jan+mN27tVNQBEVPqNIN2bAafu03g8EsG2 u0Tr9LA/fgGt8jO+Rgy1XJ/jBHI6CtvUrRluYstbAQ== X-Google-Smtp-Source: ABdhPJwpyF0nL2qHLQ1a6GyyrTGumF9EUHED00WakpqqVCOPq/99lm4Z6gxWesnPODv/8bBQjyWf2WV8U7CTswADQvc= X-Received: by 2002:a2e:9e87:: with SMTP id f7mr141692ljk.44.1592267701755; Mon, 15 Jun 2020 17:35:01 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 16 Jun 2020 03:34:45 +0300 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000c0255905a828b6e4" Subject: [RFC] [DISCUSSION] Allow void return type for constructors/destructors From: benas.molis.iml@gmail.com (Benas IML) --000000000000c0255905a828b6e4 Content-Type: text/plain; charset="UTF-8" Hey internals, I am proposing to allow void return type for constructors/destructors. Note, that this is an **optional** and cosmetic-only addition! All of the reasoning is in the RFC. RFC: https://wiki.php.net/rfc/constructor_return_type Best regards, Benas --000000000000c0255905a828b6e4--