Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108000 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55658 invoked from network); 6 Jan 2020 02:23:30 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Jan 2020 02:23:30 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id BD5E01804F3 for ; Sun, 5 Jan 2020 16:28:15 -0800 (PST) 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-ed1-f42.google.com (mail-ed1-f42.google.com [209.85.208.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 ; Sun, 5 Jan 2020 16:28:15 -0800 (PST) Received: by mail-ed1-f42.google.com with SMTP id i16so46127991edr.5 for ; Sun, 05 Jan 2020 16:28:15 -0800 (PST) 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=W4Y+ZahOJuzqCRMfUDfrzid82ZW/KGEc87eSgk1eB6I=; b=essXohobWdMZb+c+1C4h6bJuq9oqq6N35GtWH3ZJk/9Y81Wfyim9z0acv5maWhVDAw rWkMzSODPdsWWcdtw3hGnONP2TuDCKMWSjL9t3ZIKWwnU17PzdT3y8eZdFScVJJufyBC 91Jn8nAMIWMJCT8syzcJ+Z5Juu1YlXGmAuYa5WArs57igYi46o7XxRBrTQKhWPKoEwhm 3LinursHYygMCflKbsDzwaVN+w+2CTP28/kQ8Qh4YU4uaEZ5OfakKO7OmRvHiYmyeutc Lj+X4wotRMwszfsDLEh0bwcpVSl3f+MseY5u2vSIk+tp94ztkOGW1dkAJmqSVaLRYqPx h7Iw== 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=W4Y+ZahOJuzqCRMfUDfrzid82ZW/KGEc87eSgk1eB6I=; b=SnKdVX35EU0Fut82bQt/eshHZbb10KpYJzd0f2fbPOObEX+nNcafM9WOUWykpNB3wu 7jcRepp3CJjQXaqNJkbxyBQm+BYh/mKE0XoyDSpr7mE3Cb/no/QDTrFjiSWTVFVsFkEy vRqJsGIAEyiQeQJ1R8sX+sKqnoBRP3ur6/3zTHA8DAQqgVK5AO50X65XWEWfm3I8+981 K7ETSyd7d7B0LCYeKvAPk+1XtIJAV7bfnIrZyIHrv29iByJ5m+GeMY6auI8TOcHnCCCk SuQ6NVnFYc8M22KU+N31PBsygtbTVHxAeyikuoZNQRI9n20Q4Ij7wZJX1wHR0H7EyEd+ 160w== X-Gm-Message-State: APjAAAWSlM8uXaYK+0PkSMjd35QG2C/4ediLWJbeaBWyPfsR/bRsfwai EUGO+FW+gT3US6BUMV1y+pYLwQjMAgdnk5kccXk= X-Google-Smtp-Source: APXvYqyQF+CZNwqUn+hKFkApm6/ld2upsE4CaQ95kHk8fQzseuGIR1peD0MmOGGUm/BGS54wuwz0R43zo4h3IcZ2krM= X-Received: by 2002:a05:6402:714:: with SMTP id w20mr93874029edx.46.1578270491857; Sun, 05 Jan 2020 16:28:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 6 Jan 2020 01:28:02 +0100 Message-ID: To: Gabriel Caruso Cc: PHP Internals Content-Type: multipart/alternative; boundary="00000000000006d63e059b6dbcb8" Subject: Re: [PHP-DEV] Ensure correct signatures for PHP magic methods From: george.banyard@gmail.com ("G. P. B.") --00000000000006d63e059b6dbcb8 Content-Type: text/plain; charset="UTF-8" On Sun, 5 Jan 2020 at 18:44, Gabriel Caruso wrote: > Hello Internals, > > I have a PR proposing to start checking the signatures for PHP magic > methods in the next major version of PHP: > https://github.com/php/php-src/pull/4177. The idea for this PR came from > https://bugs.php.net/bug.php?id=69718. > > I'd like to hear your opinion before putting more effort into this :) > > Best regards. > Hello Gabriel, I do like the idea, but I would agree that I'd want void as the return type instead of a no return compile error. Other than that +1 from my side. Best regards George P. Banyard --00000000000006d63e059b6dbcb8--