Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22993 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29927 invoked by uid 1010); 27 Apr 2006 14:36:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29653 invoked from network); 27 Apr 2006 14:36:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Apr 2006 14:36:42 -0000 X-PHP-List-Original-Sender: edink@emini.dk X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:2289] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 41/30-11022-FB6D0544 for ; Thu, 27 Apr 2006 10:35:43 -0400 Received: from [10.0.0.18] (palestine.intra.emini.dk [10.0.0.18]) by gw2.emini.dk (Postfix) with ESMTP id DE4E2AEC02; Thu, 27 Apr 2006 16:35:37 +0200 (CEST) Message-ID: <4450D6BB.2060007@emini.dk> Date: Thu, 27 Apr 2006 16:35:39 +0200 Organization: Emini A/S User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Marcus Boerger Cc: php internals References: <444E0854.2000804@emini.dk> <200604251602.42837.bu@orbitel.bg> <444E2108.8050203@iamjochem.com> <749874265.20060426211537@marcus-boerger.de> <444FDF4C.4020303@emini.dk> <1421874376.20060427151948@marcus-boerger.de> In-Reply-To: <1421874376.20060427151948@marcus-boerger.de> X-Enigmail-Version: 0.93.0.0 OpenPGP: id=157D0FA8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Static properties From: edink@emini.dk (Edin Kadribasic) Hi Marcus, Marcus Boerger wrote: > 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. In other words there was no public discussion whatsoever ;) Well since we're are talking about the future direction of PHP, I guess the question deserves some attention. I strongly disagree with this approach of making PHP more "strict" and static. I really liked its dynamicity and would not like to see it disappear under the pressure from people who think Java or C++ (or any other langauge) are cool. For me *PHP* is the cool language. I would really like to hear what do PHP group members/core developers think about this. >>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. Mike has already demonstrated that the patch to implement this particular feature is very simple: http://dev.iworks.at/PATCHES/dyn_static.txt Edin