Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:100010 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55055 invoked from network); 22 Jul 2017 12:21:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Jul 2017 12:21:47 -0000 X-Host-Fingerprint: 62.251.31.78 monitor.xs4all.nl Received: from [62.251.31.78] ([62.251.31.78:14516] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/8E-02884-B5343795 for ; Sat, 22 Jul 2017 08:21:47 -0400 To: internals@lists.php.net Date: Sat, 22 Jul 2017 14:21:43 +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-DEV] Re: PHP 7.2.0 Beta 1 released From: phpdev@ehrhardt.nl (Jan Ehrhardt) Rasmus Lerdorf in php.internals (Sat, 22 Jul 2017 08:07:55 -0400): >On Sat, Jul 22, 2017 at 12:32 AM, Jan Ehrhardt 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