Re: Re: PHP 7.2.0 Beta 1 released

From: Date: Sat, 22 Jul 2017 13:22:07 +0000
Subject: Re: Re: PHP 7.2.0 Beta 1 released
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-100011@lists.php.net to get a copy of this message
On Sat, Jul 22, 2017 at 8:21 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote: > I am sure I am running PHP 7, not sure it is E_STRICT in 7.0 & 7.1. Just > misread > your statement "Even in 5.6 and 5.5 it was an E_STRICT", I suppose. > > With the 80-character line-breaks: > > C:\phpdev\php72nts.x64>php ..\class.php > > C:\phpdev\php72nts.x64>tail -n1 \phpdev\php72nts.x64.log > [22-Jul-2017 14:17:55 Europe/Paris] PHP Warning: Declaration of > C::form(&$form, > &$form_state, $options = Array) should be compatible with P::form(&$form, > &$for > m_state, $options = Array, $iterator = NULL) in C:\phpdev\class.php on > line 7 > > C:\phpdev\php72nts.x64>php -v > PHP 7.2.0beta1 (cli) (built: Jul 21 2017 19:20:33) ( NTS MSVC15 (Visual > C++ 2017 > ) x64 ) > Copyright (c) 1997-2017 The PHP Group > Zend Engine v3.2.0-dev, Copyright (c) 1998-2017 Zend Technologies > with Zend OPcache v7.2.0beta1, Copyright (c) 1999-2017, by Zend > Technologies Ok, so it is a normal E_WARNING and not the source of the fatal error you hit. You must have something else going on. Perhaps a custom error handler turning it into a fatal, although that also hasn't changed from 7.1. -Rasmus

« previous php.internals (#100011) next »