Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23551 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33341 invoked by uid 1010); 17 May 2006 19:03:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33326 invoked from network); 17 May 2006 19:03:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 May 2006 19:03:27 -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:34816] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 29/CC-19568-D737B644 for ; Wed, 17 May 2006 15:03:25 -0400 Received: from baumbart.mbo (dslb-084-063-015-066.pools.arcor-ip.net [84.63.15.66]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 923E235C1E2; Wed, 17 May 2006 21:03:21 +0200 (CEST) Date: Wed, 17 May 2006 21:03:30 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <89716569.20060517210330@marcus-boerger.de> To: Sebastian Bergmann Cc: internals@lists.php.net In-Reply-To: References: <6C67DAD9-B812-415A-BFD6-A4E963371551@prohost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Flamewar Summary From: helly@php.net (Marcus Boerger) Hello Sebastian, there is a technical issue besides slowdown. We have to work around the fact that suddenly a function might get $this as a normal variable (remember the examples give on this list included that). Right now $this is handled by a special zval not stored in the local or global symol table bit EG(this). This will become a major maintanance hell. Also allowing $this as normal variable again will confuse people because suddenly after 5.1 they are under some circumstances suddenly able to change $this. That said, we will also get a bunch of new bug reports, but who cares, it's the others dealing with them. And all for what? to refuse using globals as they are to php'isch? or to use an array in a declared sttaic variable as that can already be done and is also far to php'ish? best regards marcus Wednesday, May 17, 2006, 10:10:11 AM, you wrote: > Sebastian Bergmann wrote: >>> Addition of support for dynamic statics ala: class foo {} foo::$bar = 1; >> >> -1 > Apparently I had the wrong context when I read a posting by Marcus on > technical issues (slowdown). > If there are no technical issues with implementing this, then I am -0 > on this. > -- > Sebastian Bergmann http://www.sebastian-bergmann.de/ > GnuPG Key: 0xB85B5D69 / 27A7 2B14 09E4 98CD 6277 0E5B 6867 C514 B85B 5D69 Best regards, Marcus