Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 52619 invoked by uid 1010); 17 May 2006 12:03:21 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 52604 invoked from network); 17 May 2006 12:03:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2006 12:03:21 -0000 X-PHP-List-Original-Sender: steph@zend.com X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:6317] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 60/A5-19568-7011B644 for ; Wed, 17 May 2006 08:03:19 -0400 Received: from foxbox (unknown [84.228.79.24]) by gw2.emini.dk (Postfix) with ESMTP id 73762B208C; Wed, 17 May 2006 14:03:14 +0200 (CEST) Message-ID: <01fe01c678e0$7ea4e120$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "PHP Internals List" , "Ilia Alshanetsky" References: <6C67DAD9-B812-415A-BFD6-A4E963371551@prohost.org> Date: Tue, 16 May 2006 14:01:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] Flamewar Summary From: steph@zend.com ("Steph Fox") > Inclusion of E_STRICT and E_RECOVERABLE_ERROR into E_ALL > Addition of support for dynamic statics ala: class foo {} foo::$bar = 1; E_RECOVERABLE_ERROR's apparently going in anyway. E_STRICT, I'd be all for including into E_ALL now if it weren't for the 'semi-statics' issue (complex) and the distributed INI default settings (simple). If PEAR:isError() legal doesn't actually do the Engine any harm then it'd make sense to keep it, purely as a BC consideration, in which case it shouldn't really need an E_STRICT if the purpose of E_STRICT is to warn about future BC breaks. Outside that, I personally find E_STRICT useful - it's helped me diagnose mystery crashes before now - but it's really only useful if it isn't over-used as an error level. So -1, and some rethinking needed about the way E_STRICT is used ('this is the way you should do it' vs 'this is the way you will have to do it in future') > As far as statics, there are no BC reasons not to do it that I can think > of, but it just seems wrong to me from a design perspective to allow > dynamic creation of static object properties. It seems very PHP-ish to me to allow it. +1. - Steph