Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108187 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 34412 invoked from network); 17 Jan 2020 20:14:27 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Jan 2020 20:14:27 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id E0622180540 for ; Fri, 17 Jan 2020 10:22:07 -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-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 ; Fri, 17 Jan 2020 10:22:07 -0800 (PST) Received: by mail-wm1-f45.google.com with SMTP id m24so8349934wmc.3 for ; Fri, 17 Jan 2020 10:22:07 -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=GORGVE+5+5BhIg0bcFD3RAJ2m9s8TVKiH6XPeOQO14E=; b=IaQdy2/x/DJxurd7EKPH1u0EBd5e1TuzrmFPSqDvpCv45PwYmZL/fDZPWtw6LdMjv6 J41l2itDyRy4qEmomyh5xg51OToZWTyKfB3HB53wk92k7VDepXH5fjGjFbgcmEzQk8SZ wx6wod7tqSzeVN0ltFweKBAKXgO8gV8icT1c3UPr/mQUt9WwnMi9Vpjy+hfhbYwcYrgs cD3xNxgV/9NpDqcKRhY4IL/lPxO83LJ0OticjsYvG2KvhjXNYdG2/iuPci0skULVtZ0B fP3P5ZfmQrnU9PHxlEF2hZHjdpE30XNORKaxhF6uTVrM1ou+JoFZVJrFXhwYZNX93Od/ Dgng== 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=GORGVE+5+5BhIg0bcFD3RAJ2m9s8TVKiH6XPeOQO14E=; b=pYllJRV4YidZDzu6MwhPTYLnmAxC+G7RgsGpeDiiqoPc/Y88c4H/eBcjHZVTdhnoSk EVCMtxmhANEL6bQXTa1rFSHAo2cinBGlRaB65tHvXBDR2y+GPbKRVvfIt7lsx5U1FoPo LKDrztCEefG2qwiOojKSRI1VRS73H3n7QeQ0kjALQNn5IPUheV172YqSbRxpqqty1kOb VFH2/WpHWumKmLZSTlOB6LP62mm3nMVWyXP7htJWxaBb5Avbfg46FH7kITx4oizd0aF4 SQIPUey+C6ImKxwmxk0u8KFuOhsOTnj8C/5T53ML3gSnplIPlM9BAWbAWE5sz514+B0N 4y9g== X-Gm-Message-State: APjAAAViu9FFBjznX/zXlJKKGy7VQm1VAH5Y95nM7f6McAJygdvpUE4i ACoazYpVqbnElI8k0bGEHoQ= X-Google-Smtp-Source: APXvYqx+e4HSMkbRbONLo4x9tXqbFs0YofSWpM38lZryIIdMdTI3Adexf5uMXl7t24SthLX03TpneQ== X-Received: by 2002:a1c:e289:: with SMTP id z131mr6036808wmg.18.1579285323313; Fri, 17 Jan 2020 10:22:03 -0800 (PST) Received: from ?IPv6:::ffff:192.168.43.107? ([105.112.178.31]) by smtp.gmail.com with ESMTPSA id f1sm35176131wru.6.2020.01.17.10.22.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 17 Jan 2020 10:22:02 -0800 (PST) Message-ID: <5e21fb4a.1c69fb81.77708.0fd8@mx.google.com> MIME-Version: 1.0 To: Niklas Keller , Nikita Popov Cc: Bob Weinand , PHP internals Date: Fri, 17 Jan 2020 19:22:02 +0100 Importance: normal X-Priority: 3 In-Reply-To: <5e19d0df.1c69fb81.f31c4.abc9@mx.google.com> References: <5e19d0df.1c69fb81.f31c4.abc9@mx.google.com> Content-Type: multipart/alternative; boundary="_F2379233-DF02-4A53-ADFB-B11BBAEC808C_" Subject: RE: [PHP-DEV] Warn when declaring required parameter afteroptionalone From: oludonsexy@gmail.com (Olumide Samson) --_F2379233-DF02-4A53-ADFB-B11BBAEC808C_ Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Error(in PHP 8) after warning or deprecation in 7.xnything more preferred= =E2=80=A6 --- Sent from Mail for Windows 10 From: Olumide Samson Sent: Saturday, January 11, 2020 2:42 PM To: Niklas Keller; Nikita Popov Cc: Bob Weinand; PHP internals Subject: RE: [PHP-DEV] Warn when declaring required parameter afteroptional= one 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 --_F2379233-DF02-4A53-ADFB-B11BBAEC808C_--