Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108101 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98129 invoked from network); 11 Jan 2020 15:36:51 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 11 Jan 2020 15:36:51 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 71DA41804AC for ; Sat, 11 Jan 2020 05:42:59 -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=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,FREEMAIL_REPLY, 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-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (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 ; Sat, 11 Jan 2020 05:42:58 -0800 (PST) Received: by mail-wr1-f43.google.com with SMTP id q6so4320339wro.9 for ; Sat, 11 Jan 2020 05:42:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:mime-version:to:cc:from:subject:date:importance :in-reply-to:references; bh=H2gaY/znZtYbKVCs+/TdAA2QWXUU5Fo65Q4chgtNDk0=; b=XT5TQv14PZL9syReEpGGGVuf2HStgc/gKemFnikz22Rqf26pMKcfiIutYCiHqZbnha 9KuB7zrMssp0iwcu4JyjXCCo8op9GKnVjRVdZt9xFrx1SJWd/pA31A18Hzif+o0pdXhK DUiE9D7rGJPMSqk7ajwsJ+KqBwpDfbZx7TLhF/BjMw0Hl7uuj73i+holKpPgEGLhpS/9 uYkQ9N/3dDQCO9kppoI10s1ti+Wc8a0gqdc1dnjRFzJjlSOgapMJMugH3NVxwngzymfb mZP9psRk1DhG8+jYge31yZeNs9NGBXc3QxjXPMC868TWKkICTtlo1BsxcHCkr0+z0R0V O1iw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version:to:cc:from:subject:date :importance:in-reply-to:references; bh=H2gaY/znZtYbKVCs+/TdAA2QWXUU5Fo65Q4chgtNDk0=; b=NgMHEN+rLyXAzYwh/gC6Y4MroZ2sFuqYz/6iFeH7c3iE3D7IvXiZCkyJiOwVlO3FoM GEmNpYwznlF9hnJXRR5e4X4quebNXnQWRF3cXHhtUuIr0we5wwoU0LxeaLhJ1RppZgMV b38tqQUnT9Y6cp+v9iS7WYNvhG/UaWyrBiaBO2BBuJ1EDs3gYrpsxwUB3Y8Yl2phiXTW fyBHd8+PRXgqI0JZ+D8c+kmXd5snZHCkbDl4OVMnlhoFV2YIawXiFrPNkywUc/Oibz7p bPjNoyufH3aY6WDaRu3TZJVylwsudb2O9aGNBbj+2WKdDkApomz8ymDLSsIsXQXPgg+M xRIA== X-Gm-Message-State: APjAAAU5MIEWjwHxSz+j37og6GKGx9nMBb8aGbW+7In8cAglGl5hz5Pz vScgdqyLtNg1DLuKcuNRnQQ= X-Google-Smtp-Source: APXvYqw8/xItRFJ4xS2Jf5zhBhT03i78phnLL3lp5+Q55ru67CoCa2f0iYpgWWHJvemwXOplyx/4hg== X-Received: by 2002:adf:ff8a:: with SMTP id j10mr9225495wrr.312.1578750176062; Sat, 11 Jan 2020 05:42:56 -0800 (PST) Received: from ?IPv6:::ffff:192.168.42.89? ([105.112.56.160]) by smtp.gmail.com with ESMTPSA id o1sm6393413wrn.84.2020.01.11.05.42.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 11 Jan 2020 05:42:55 -0800 (PST) Message-ID: <5e19d0df.1c69fb81.f31c4.abc9@mx.google.com> MIME-Version: 1.0 To: Niklas Keller , Nikita Popov Cc: Bob Weinand , PHP internals Date: Sat, 11 Jan 2020 14:42:54 +0100 Importance: normal X-Priority: 3 In-Reply-To: References: Content-Type: multipart/alternative; boundary="_021B1629-0DFA-4721-BFB7-C6257A6F3498_" Subject: RE: [PHP-DEV] Warn when declaring required parameter after optionalone From: oludonsexy@gmail.com (Olumide Samson) --_021B1629-0DFA-4721-BFB7-C6257A6F3498_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Should it be a warning or an error? --- Sent from Mail for Windows 10 From: Niklas Keller Sent: Saturday, January 11, 2020 2:35 PM To: Nikita Popov Cc: Bob Weinand; PHP internals Subject: Re: [PHP-DEV] Warn when declaring required parameter after optiona= lone Hi Nikita, while this is a rather small change, it has quite some BC impact, as not all old code has been adjusted to run on PHP 7.1+ only using nullable types. I'd like to see an RFC with a vote for this. Regards, Niklas --=20 PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php --_021B1629-0DFA-4721-BFB7-C6257A6F3498_--