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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to