Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100001 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11217 invoked from network); 22 Jul 2017 01:50:13 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2017 01:50:13 -0000 X-Host-Fingerprint: 62.251.31.78 monitor.xs4all.nl Received: from [62.251.31.78] ([62.251.31.78:7483] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 84/38-02884-45FA2795 for ; Fri, 21 Jul 2017 21:50:12 -0400 To: internals@lists.php.net Date: Sat, 22 Jul 2017 03:50:08 +0200 Message-ID: References: X-Newsreader: Forte Agent 3.3/32.846 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Posted-By: 62.251.31.78 Subject: Re: PHP 7.2.0 Beta 1 released From: phpdev@ehrhardt.nl (Jan Ehrhardt) 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