Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30091 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38479 invoked by uid 1010); 5 Jun 2007 21:29:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 38464 invoked from network); 5 Jun 2007 21:29:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Jun 2007 21:29:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Received-SPF: error (pb1.pair.com: domain php.net from 85.214.80.207 cause and error) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.80.207 unknown Linux 2.6 Received: from [85.214.80.207] ([85.214.80.207:33284] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 95/1D-33808-1B5D5664 for ; Tue, 05 Jun 2007 17:29:22 -0400 Received: from [10.10.4.203] (unknown [194.230.53.149]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id B2D811B3669; Tue, 5 Jun 2007 23:29:17 +0200 (CEST) Date: Tue, 5 Jun 2007 23:29:15 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1049046954.20070605232915@marcus-boerger.de> To: Pierre CC: "Marcus Boerger" , internals@lists.php.net In-Reply-To: References: <1655508223.20070605221904@marcus-boerger.de> <1286789372.20070605231537@marcus-boerger.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] SPL & PCRE as always enabled in core From: helly@php.net (Marcus Boerger) Hello Pierre, Tuesday, June 5, 2007, 11:21:48 PM, you wrote: > Hello, > On 6/5/07, Marcus Boerger wrote: > I sniped the rest as we can argue endlessly about what should be in or > out, I think I made my point > However, in case I did not make it, here it is: >> Just a standard OOP function. Nothign that belongs into the engine. > If it is standard OO, it belongs to the engine, the core of the > language. And the PHP internals developers (as for any language > related decisions) should have the responsibility not a couple of > extension maintainers. While the engine changes the language, SPL only faciliates what the engine allows. For instance you can write any number of exceptions but SPL gives a nice number of default exception classes with a documented semantics. It is similar to the exception classes in C++/STL and there they are also not part of the language but of the extension (STL in this case). And I tried to do the same for PHP just as we did the same with ext/standard which hosts stuff that is part of the C API rahther than the C lnaguage. Where sizof/count is the exception to the rule. We have it in the ext while C/C++ have it in the language. Well it returns size_t which is part of the API rather than the language (damn broken design imo). Best regards, Marcus