[php-src] Issue #8024: No deprecation warning is triggered for nullable optional parameters before required ones

From: Date: Thu, 03 Feb 2022 15:01:33 +0000
Subject: [php-src] Issue #8024: No deprecation warning is triggered for nullable optional parameters before required ones
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239438@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8024 Comment Author: iluuu1994 This is by-design. https://github.com/nikic/php-src/blob/b63436ab67e1644d3611fba91c89c45a7a845626/Zend/zend_compile.c#L5753-L5759 The impact of this change was small, because it was restricted to explicitly-nullable parameters. Adding it to all parameters would probably require an RFC. Fulll context: https://github.com/php/php-src/pull/5067

« previous php.bugs (#239438) next »