RE: [PHP-DEV] Warn when declaring required parameter after optionalone
| From: | Olumide Samson | Date: | Sat, 11 Jan 2020 13:42:54 +0000 |
| Subject: | RE: [PHP-DEV] Warn when declaring required parameter after optionalone | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108101@lists.php.net to get a copy of this message | ||
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