Re: Re: PHP 7.2.0 Beta 1 released
| From: | Jan Ehrhardt | Date: | Sat, 22 Jul 2017 12:21:43 +0000 |
| Subject: | Re: Re: PHP 7.2.0 Beta 1 released | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100010@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf in php.internals (Sat, 22 Jul 2017 08:07:55 -0400):
>On Sat, Jul 22, 2017 at 12:32 AM, Jan Ehrhardt <phpdev@ehrhardt.nl> wrote:
>
>> Your example issues an E_STRICT warning, in both PHP 7.2 nts x64 and PHP
>> 7.1 nts x64, so it must be caused by something else.
>
>Are you sure you are even running PHP 7? This type of code hasn't issued an
>E_STRICT since PHP 5.
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
--
Jan