Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:25560 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77901 invoked by uid 1010); 6 Sep 2006 21:09:17 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 77886 invoked from network); 6 Sep 2006 21:09:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Sep 2006 21:09:17 -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 81.169.182.136 cause and error) 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] ([81.169.182.136:34318] helo=strato.aixcept.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 44/58-10926-CF83FF44 for ; Wed, 06 Sep 2006 17:09:16 -0400 Received: from baumbart.mbo (dslb-084-063-073-253.pools.arcor-ip.net [84.63.73.253]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by strato.aixcept.de (Postfix) with ESMTP id 83B7D35C1F5; Wed, 6 Sep 2006 23:09:13 +0200 (CEST) Date: Wed, 6 Sep 2006 23:09:17 +0200 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <1142355092.20060906230917@marcus-boerger.de> To: Andrei Zmievski Cc: PHP Internals , Dmitry Stogov In-Reply-To: <2b9a524b62303d2b7c3f5e20a7b86537@gravitonic.com> References: <2b9a524b62303d2b7c3f5e20a7b86537@gravitonic.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] RFC: unicode.semantics: runtime or not? From: helly@php.net (Marcus Boerger) Hello Andrei, we have already a freaking complexapi to deal with and on the other hand we have fastcgisupport. What we should imo do is trying to drop complexity of our api and not increase it to an unhandable extreme and instead promote usage of fastcgi. My 2c. best regards marcus Wednesday, September 6, 2006, 6:39:57 PM, you wrote: > We really need to settle on whether we want unicode.semantics to be > changeable at runtime or not. During early development it was > ZEND_INI_PERDIR, meaning that it could be changed in .htaccess and > VirtualHost blocks. However, the infrastructure to support this > flexibility was deemed too complicated at the Paris PDM. Basically, we > need to maintain two sets of symbol tables and convert between them on > the fly as well as two copies of each class entry. The latter was > especially problematic instead of just mentioning class entry pointer, > you had to access it like U_CLASS_ENTRY(ce). So it was decided that > unicode.semantics switch would be only ZEND_INI_SYSTEM and that is how > the development proceeded since then. However, there have come up > concerns that keeping it this way will make PHP 6 adoption infeasible > by the majority of hosting companies and users since they would have to > run two copies of Apache to support both modes. > We can go back to the PERDIR version, but that requires a lot of work > and not just in the engine, but also in a lot of extensions. I will let > Dmitry provide the technical details, but we need to decide which way > to go: > 1. ZEND_INI_SYSTEM and make people run two copies of Apache if they > want both modes. This is architecturally more simple and more robust, I > believe. > 2. ZEND_INI_PERDIR and let people switch modes as described above. This > is a lot of work and will probably result in quite a few edge cases > where we used to rely on stability of one mode (such as APC or > serialization, for example).