Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25967 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41702 invoked by uid 1010); 6 Oct 2006 16:09:56 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41687 invoked from network); 6 Oct 2006 16:09:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Oct 2006 16:09:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=iliaal@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=iliaal@gmail.com; sender-id=pass; domainkeys=good Received-SPF: pass (pb1.pair.com: domain gmail.com designates 64.233.162.197 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: iliaal@gmail.com X-Host-Fingerprint: 64.233.162.197 nz-out-0102.google.com Linux 2.4/2.6 Received: from [64.233.162.197] ([64.233.162.197:12868] helo=nz-out-0102.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3A/55-11652-2DF76254 for ; Fri, 06 Oct 2006 12:09:55 -0400 Received: by nz-out-0102.google.com with SMTP id 8so274421nzo for ; Fri, 06 Oct 2006 09:09:52 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:in-reply-to:references:mime-version:content-type:message-id:cc:content-transfer-encoding:from:subject:date:to:x-mailer:sender; b=nGJ/eHvkkuszFju/PiV2nhzlNYh9MuRMuK9Haqadlu27/xQi+w6o7lTFYLvAkTMNy715xg1IsLPc36VoQXhwACX1zu6Ubn1sCa7qczf8mqd2RaMsChZBRFO3iJV6ul3d+XOMjeF8Mdhyzof76PIHp1o1OEiqn9tGlWJvwxRwO9A= Received: by 10.65.219.13 with SMTP id w13mr4544902qbq; Fri, 06 Oct 2006 09:09:52 -0700 (PDT) Received: from ?192.168.1.6? ( [74.108.68.217]) by mx.google.com with ESMTP id 1sm2757179qbh.2006.10.06.09.09.49; Fri, 06 Oct 2006 09:09:49 -0700 (PDT) In-Reply-To: <45267D5A.70401@emini.dk> References: <50.8B.48579.ED205254@pb1.pair.com> <45252FC7.9030500@php.net> <4e89b4260610060728v51b1ba65m69304a88d693ce7d@mail.gmail.com> <45267188.9030107@emini.dk> <45267B7D.9080206@zend.com> <45267C07.3090404@emini.dk> <45267D5A.70401@emini.dk> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-ID: Cc: internals@lists.php.net Content-Transfer-Encoding: 7bit Date: Fri, 6 Oct 2006 12:09:44 -0400 To: Edin Kadribasic X-Mailer: Apple Mail (2.752.3) Sender: Ilia Alshanetsky Subject: Re: [PHP-DEV] Re: [VOTE] Intermediate Results From: ilia@prohost.org (Ilia Alshanetsky) On 6-Oct-06, at 11:59 AM, Edin Kadribasic wrote: > I believe that most OO "strictness" fatal errors should be demoted > to notices. > > * Changing function signatures in derived classes I be wary of allowing this because in some instances method signature can drastically impact behavior for example foo(&$bar) {} vs foo($bar); I'd prefer to don't reduce this to E_NOTICE. (-1) > * Accessing non-existing class constant (print myclass::myconst) +1 on this > * Creating class variables (myclass::$myvar = 1) You are talking about creating static class variables (dynamic ones can already be created without even an E_NOTICE). I think if you need this done, why not create a property dynamically and then access it statically? I suppose you are using this is a means of having a global var, in which case you don't have a class instance to init a property with, but to me it seems like a misuse of the OO functionality, -1. Ilia Alshanetsky