RE: [PHP-DEV] Warn when declaring required parameter afteroptionalone
| From: | Olumide Samson | Date: | Fri, 17 Jan 2020 18:22:02 +0000 |
| Subject: | RE: [PHP-DEV] Warn when declaring required parameter afteroptionalone | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108187@lists.php.net to get a copy of this message | ||
Error(in PHP 8) after warning or deprecation in 7.xnything more preferred…
---
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 afteroptionalone
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 optionalone
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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php