Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23434 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75065 invoked by uid 1010); 15 May 2006 22:29:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75050 invoked from network); 15 May 2006 22:29:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2006 22:29:38 -0000 X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([67.139.134.202:3210] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 13/48-19568-1D009644 for ; Mon, 15 May 2006 18:29:38 -0400 Received: (qmail 8791 invoked by uid 98); 15 May 2006 22:29:39 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 ( Clear:RC:1(127.0.0.1):. Processed in 1.296717 secs); 15 May 2006 22:29:39 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 1.296717 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 15 May 2006 22:29:37 -0000 Received: from 209.254.223.2 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Mon, 15 May 2006 17:29:37 -0500 (CDT) Message-ID: <1724.209.254.223.2.1147732177.squirrel@www.l-i-e.com> In-Reply-To: <284871631.20060515214706@marcus-boerger.de> References: <138663365.20060514205903@marcus-boerger.de> <038d01c676f8$ab9b3380$6602a8c0@foxbox> <44685D24.2000801@php.net> <1147708994.14148.23.camel@notebook.local> <16710545416.20060515202714@marcus-boerger.de> <1147721541.14148.47.camel@notebook.local> <284871631.20060515214706@marcus-boerger.de> Date: Mon, 15 May 2006 17:29:37 -0500 (CDT) To: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] fatal static call in php 6.0? From: ceo@l-i-e.com ("Richard Lynch") On Mon, May 15, 2006 2:47 pm, Marcus Boerger wrote: >> [...] Is there a significant performance >> enhancement in the engine that depends on eliminating semi-static >> or somesuch? > > Security. We might as well enable the crash function in non debug > builds. > Or just drop 'static' again and go back to the PHP 4 object model. I realize I'm the village idiot here, but... How does throwing, say, E_NOTICE or E_OOP_PURIST or something instead of E_FATAL when the programmer does this, turn into a crashing security issue? While encapsulation can be an important component of data-integrity and security in an application's OOP model, I'm just not seeing this as a general security flaw that should halt somebody's program because they prefer a looser encapsulation model in their OOP... Am I being particularly naive or blind here? If so, could you elaborate on how this is a Security concern, and equates with a crash function in non debug builds? Much less regressing to the inherently flawed PHP4 OOP model? If you're sure I'm the only idiot not getting this, feel free to point me to references or reply off-list or just ignore me, as I know you're crazy busy. :-) -- Like Music? http://l-i-e.com/artists.htm