Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:34850 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 25161 invoked by uid 1010); 21 Jan 2008 17:14:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 25146 invoked from network); 21 Jan 2008 17:14:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Jan 2008 17:14:27 -0000 Authentication-Results: pb1.pair.com header.from=helly@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=helly@php.net; spf=unknown; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 85.214.94.56 as permitted sender) X-PHP-List-Original-Sender: helly@php.net X-Host-Fingerprint: 85.214.94.56 aixcept.net Linux 2.6 Received: from [85.214.94.56] ([85.214.94.56:42041] helo=h1149922.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 74/AE-20131-1F2D4974 for ; Mon, 21 Jan 2008 12:14:27 -0500 Received: from dhcp-172-28-202-237.zrh.corp.google.com (unknown [193.142.125.1]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by h1149922.serverkompetenz.net (Postfix) with ESMTP id 637841B3663; Mon, 21 Jan 2008 18:14:22 +0100 (CET) Date: Mon, 21 Jan 2008 18:14:23 +0100 Reply-To: Marcus Boerger X-Priority: 3 (Normal) Message-ID: <676382454.20080121181423@marcus-boerger.de> To: Antony Dovgal CC: php-dev In-Reply-To: <4794AE48.20005@daylessday.org> References: <4794AE48.20005@daylessday.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] why we must get rid of unicode.semantics switch ASAP From: helly@php.net (Marcus Boerger) Hello Antony, +1 + thanks, it is simply a ppain in th eass to develop with 7) It alone is responsible for at least 10% slowdown. marcus Monday, January 21, 2008, 3:38:00 PM, you wrote: > 6 reasons why we must to get rid of The Switch ASAP > ---------------------------------------------------- > 1) it gives users false sense of "compatibility" when no compatibility is even planned; > 2) it's supposed to mean compatibility, but can be changed only in php.ini, which > means users would still have to maintain 2 versions of their software: > one for On and second for Off. > 3) 2+ bigger codebase [1] (with lots of duplicates because we have to do > same things in native and unicode modes); > 4) increases the maintenance costs a lot [2]; > 5) this is yet another reincarnation of ze1_compatibility switch. Which is the worst mistake ever imo - If you wanted PHP 4 you would simply use PHP 4. Now if you want PHP 5 just damn use PHP 5. > I believe most of the people here agree it was a total failure - untested, unneeded and, > most important, not working thing that complicates user's and developer's lives. > Those who want compatibility may and will stay with PHP5 forever, > those who need Unicode support will use PHP6. > 6) we need to remove the switch ASAP and make PHP6 Unicode-only before people spend > their time doing useless "compatibility ports" of their applications. > --- > [1] > http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?revision=1.664&view=markup > Don't click this link if you want to sleep well today. > [2] Here is a typical problem: http://bugs.php.net/bug.php?id=42861 > Try to fix it without looking at the solution and you'll see what I mean. > -- > Wbr, > Antony Dovgal Best regards, Marcus