Re: PHP 7.2.0 Beta 1 released

From: Date: Sat, 22 Jul 2017 01:50:08 +0000
Subject: Re: PHP 7.2.0 Beta 1 released
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-100001@lists.php.net to get a copy of this message
Hi Sara, Sara Golemon in php.internals (Thu, 20 Jul 2017 08:13:39 -0400): >The first beta for 7.2.0 was just released and can be downloaded from: >https://downloads.php.net/~pollita/ [snip] >Please test it carefully, and report any bugs in the bug system. I tried running Drupal7 with 7.2.0 Beta 1 and ran into a fatal error, that does not happen under PHP 7.1.x (Windows, NTS, x64). I do not know if it is a bug, an omission in UPGRADING or me looking with my nose. Therefore I did not file a bugreport yet. The case: class RulesActionContainerUI has a public function form: > public function form(&$form, &$form_state, $options = array(), $iterator = NULL) { class RulesRuleUI extends RulesActionContainerUI with a public function > public function form(&$form, &$form_state, $options = array()) { Bad programming, but no PHP ever stumbled over it. PHP 7.2.0 Beta 1 issues a fatal error that RulesRuleUI::form must be compatible with RulesActionContainerUI::form. IMHO a valid remark, but still a BC break. Is this documented anywhere? Or should the Fatal Error become less fatal? -- Jan

« previous php.internals (#100001) next »