Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109416 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 8060 invoked from network); 29 Mar 2020 19:28:45 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 29 Mar 2020 19:28:45 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E4CD41804C2 for ; Sun, 29 Mar 2020 10:54:28 -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.4 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, 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-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) (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 ; Sun, 29 Mar 2020 10:54:28 -0700 (PDT) Received: by mail-il1-f181.google.com with SMTP id p13so13579523ilp.3 for ; Sun, 29 Mar 2020 10:54:28 -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=Faf7djqt1vTanmh0F900dloOJe24o7haq6IAx78GVoA=; b=IPDBaKrg3+YNv/TzDqOZ/RwXWT2JUxQ845/t/KHgevEhMswC8fO1EdDHq4W1J8yNqW jWZ0wXkfblNzpfVq0GT9OW65z4558FrKJPwU4CbYX6LezA5bqebQoB+QyEcQhDU9i+Vp Ish70CuVgluA+u/Y7AuMP+v3Q8LHsU5CNnG7u6AdIDLvUmSPZomp1Vjo3YgdusxJAeV4 G6maPQdTnGGItQNOFDFP9PFh8QeIqVtU0P/5qsRnSHiSc8h61HKuiK4nobJXNSfDbQf5 LCDAe8av0hoCo19VDneNfT6Dx1ljWI/MQvo6RwNG86NwEZxrZO+iATKq1uThcQOu/uio /GLA== 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=Faf7djqt1vTanmh0F900dloOJe24o7haq6IAx78GVoA=; b=mS++yQIvbZX5lPQ7MOLMFEVQt6Atl3a0R/PN3SarMdMejC/1nJe2mVRWjvelnT48Qt are3pPBogM09OzKxgcNtUI1ERcuieCFLeahR35L9NZlqUHG3YwSKd7PwXh2jM5nSO8kO weclaGtadF3m9NqQdtX17/D9ESEPMO2Qo52OVFzFh9hTCIW7MxxyG55Al9+SoIsESNor VdeFBPA3L4SAqsXIzHmE4R8jxF3qF8Ak7lusa6TTf19fkffg2AIbfHa6JTt/xkDlkb7o 8BfTHwwwag5Mf1JzYt2OByMbmMfXNR/n+ZEjaIkCqjby99ealYLvL1HW+uWTH7Ncc/uG MflA== X-Gm-Message-State: ANhLgQ1OhRbWrEyRdatyfesW59xwCmXDj+XEVf9zIubpIH7/owrARxz4 kFV2D7avmjSh6HNCicQpq0soCww5MrWfJNA3MVEVEWPsWAk= X-Google-Smtp-Source: ADFU+vtXRhtg5GQsnTO1DAV05JvTD+hAwg1t+HyzNeX8Dizt18X4INiAqV3RM1f/vwFKI6qYO0acngjft64Dig2+Q44= X-Received: by 2002:a92:8cc1:: with SMTP id s62mr7769116ill.153.1585504466937; Sun, 29 Mar 2020 10:54:26 -0700 (PDT) MIME-Version: 1.0 Date: Sun, 29 Mar 2020 19:54:14 +0200 Message-ID: To: PHP Internals Content-Type: multipart/alternative; boundary="0000000000008ab42d05a2020662" Subject: [RFC] Ensure correct magic methods' signatures when typed From: carusogabriel34@gmail.com (Gabriel Caruso) --0000000000008ab42d05a2020662 Content-Type: text/plain; charset="UTF-8" Hello internals. I'd like to discuss with you about https://github.com/php/php-src/pull/4177. I'll write a formal RFC for this during the week. Open question: ```php public function __constructor() {} ``` vs. ```php public function __constructor(): void {} ``` The same goes for `__destruct`, `__clone` and others that do not have return type nowadays. --0000000000008ab42d05a2020662--