Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22991 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 83108 invoked by uid 1010); 27 Apr 2006 13:20:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 83093 invoked from network); 27 Apr 2006 13:20:05 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2006 13:20:05 -0000 X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 81.169.182.136 ajaxatwork.net Linux 2.4/2.6 Received: from ([81.169.182.136:53099] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 37/09-19715-405C0544 for ; Thu, 27 Apr 2006 09:20:05 -0400 Received: from localhost (strato.aixcept.de [81.169.182.136]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id B8C1635C1B7; Thu, 27 Apr 2006 15:19:55 +0200 (CEST) Date: Thu, 27 Apr 2006 15:19:48 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1421874376.20060427151948@marcus-boerger.de> To: Edin Kadribasic Cc: php internals In-Reply-To: <444FDF4C.4020303@emini.dk> References: <444E0854.2000804@emini.dk> <200604251602.42837.bu@orbitel.bg> <444E2108.8050203@iamjochem.com> <749874265.20060426211537@marcus-boerger.de> <444FDF4C.4020303@emini.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Static properties From: helly@php.net (Marcus Boerger) Hello Edin, Wednesday, April 26, 2006, 10:59:56 PM, you wrote: > Marcus Boerger wrote: >> It is just some decision that was taken that the newer OO stuff should be a >> bit more strict. > I don't remember any such decision. I don't even remember a discussion > about it. I'm aware of the efforts of some people to make PHP less PHP > and more Java and thus we end up in a situation where: There was no endless discussion like we to often do on the list but instead it was just something we came to agree upon among those implementing it while implementing it. > class foo{}; foo::$bar = 1; To cut the story short, any feature might have an advantage for somebody but also a heavy disadvantage for somebody else. But in the end if we'd agree to add this feature we#d also end up in supporting interception of static properties which we probably do not want. Best regards, Marcus