Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34964 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14123 invoked by uid 1010); 28 Jan 2008 16:40:04 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14108 invoked from network); 28 Jan 2008 16:40:04 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Jan 2008 16:40:04 -0000 Authentication-Results: pb1.pair.com header.from=lokrain@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=lokrain@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.92.175 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: lokrain@gmail.com X-Host-Fingerprint: 66.249.92.175 ug-out-1314.google.com Received: from [66.249.92.175] ([66.249.92.175:39406] helo=ug-out-1314.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F7/02-26775-3650E974 for ; Mon, 28 Jan 2008 11:40:03 -0500 Received: by ug-out-1314.google.com with SMTP id u40so42777ugc.29 for ; Mon, 28 Jan 2008 08:40:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; bh=ogI+WorOoeBCY9atmT48M801xjTqbUSAeeiMVukvkzA=; b=lgday7rFtcLTCgN6FVuxI6qffG4OVfDrOksTVAB6K5s5980h1bWXnf4+c0wUizKCEN7Ls0A5j5hhE7p1XsycyrYlqYnR6Z/GcyuGjRe87xMZ3N/rypVPz0a6CT30HPhX86ZDZFRbnFm0GniwZ3+44xIPfZR+NcQzkXfyajFsOxk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=GX4IUrdoq2MyzquPVGMqWSJZHZra6HESdPEanq1NXFDh7bFXh9J/9yOFrWvzfpgFsM9S+Hs6REIHr9sDnNmIXknasXiGc3A+fSM+ru5bFmAMMXwJD+gmAmgcPC6lkSP+LQYf1TfYcNVs3TwEHi1EjUV4V4c4qqjtrphLwID2NFA= Received: by 10.67.29.20 with SMTP id g20mr282999ugj.54.1201538399926; Mon, 28 Jan 2008 08:39:59 -0800 (PST) Received: by 10.66.250.14 with HTTP; Mon, 28 Jan 2008 08:39:59 -0800 (PST) Message-ID: <345fd5cd0801280839s718faf9cue303f5e7f4158f70@mail.gmail.com> Date: Mon, 28 Jan 2008 18:39:59 +0200 To: robin@soal.org Cc: "Marcus Boerger" , internals@lists.php.net In-Reply-To: <5a8807d10801280718p6d52f689s3a13c4d8c6521a3f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_8274_33507975.1201538399915" References: <5a8807d10801280520u7f8c7a9o8d2ab2efaa9c7644@mail.gmail.com> <1109819085.20080128151237@marcus-boerger.de> <5a8807d10801280718p6d52f689s3a13c4d8c6521a3f@mail.gmail.com> Subject: Re: [PHP-DEV] Protected static props redeclared as public share value across classes From: lokrain@gmail.com (Lokrain) ------=_Part_8274_33507975.1201538399915 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi All, A property can share it's value with it's parent but methods need to call parent::$method() and this is not done by default that is why the behavior is different. Is that the right behavior?! I really don't know. I think the inheritance of the static methods as two distinct methods is right regardless any visibility modifiers. So if something needs to be patched it need to be in property inheritance rules, or just accept the evil reality :) Best Regards, Dimitar Isusov ------=_Part_8274_33507975.1201538399915--