Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23800 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5893 invoked by uid 1010); 30 May 2006 23:37:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 5878 invoked from network); 30 May 2006 23:37:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 May 2006 23:37:15 -0000 X-PHP-List-Original-Sender: cellog@php.net X-Host-Fingerprint: 66.79.163.178 bluga.net Linux 2.5 (sometimes 2.4) (4) Received: from ([66.79.163.178:58929] helo=mail.bluga.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DA/7F-07504-927DC744 for ; Tue, 30 May 2006 19:37:13 -0400 Received: from mail.bluga.net (mail.bluga.net [127.0.0.1]) by mail.bluga.net (Postfix) with ESMTP id D2E8B282E6; Tue, 30 May 2006 16:44:58 -0700 (PDT) Received: from [192.168.0.103] (CPE-24-208-79-238.neb.res.rr.com [24.208.79.238]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bluga.net (Postfix) with ESMTP id 601E2282C2; Tue, 30 May 2006 16:44:58 -0700 (PDT) Message-ID: <447CD71D.9030104@php.net> Date: Tue, 30 May 2006 18:37:01 -0500 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcus Boerger Cc: internals@lists.php.net References: <649570026.20060531004803@marcus-boerger.de> In-Reply-To: <649570026.20060531004803@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: [RFC] E_STRICT From: cellog@php.net (Greg Beaver) Marcus Boerger wrote: > Hello internals, > > right now the fate of E_STRICT error messages is uncertain. A few > people think those should change to fatal after a reasonable amount of > time, is two years (e.g. 5.0.0) reasonable. A few even think a minor > version like 5.1 to 5.2 is enough but the majortiy (at least i guess > so) wants the change only on a major version change like 5.0 to 6.0. > > Currently the manual says: > > 2048 E_STRICT (integer) Run-time notices. Enable to have PHP suggest > changes to your code which will ensure the best interoperability and > forward compatibility of your code. since PHP 5 > > > So the RFC goes: Extend the manual to specify that issues reported by > E_STRICT messages are most likely to become fatal errors in the next > major version. I recommend at least 1.5 years notice of exactly which E_STRICT will become E_FATAL, and document it as a front-page item at php.net Anything less could be a real problem. Currently, I think it is fair to say that downloads of PEAR approximately reflect the state of affairs of the average PHP developer on the cutting edge. Yesterday, we had ~8000 downloads of PEAR packages by people using PHP 4, as opposed to ~20000 downloads of PEAR packages by people using PHP 5 and above (the majority being PHP 5.1 by a large margin). In other words, almost a third of our most active users are still stuck in PHP 4. The number of these users is rapidly declining. When I began keeping track in early December 2005, almost half the downloads were PHP version 4 including a significant minority of PHP 4.2 users (down to about 1 per day now). At this rate, I would say it is safe to introduce some E_FATAL in about 1.5-2 years, and people will still upgrade to 6.0. Greg