Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30710 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75189 invoked by uid 1010); 9 Jul 2007 23:35:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75173 invoked from network); 9 Jul 2007 23:35:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Jul 2007 23:35:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 83.243.58.163 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 83.243.58.163 mail4.netbeat.de Received: from [83.243.58.163] ([83.243.58.163:48731] helo=mail4.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 85/C0-03277-D26C2964 for ; Mon, 09 Jul 2007 19:35:11 -0400 Received: (qmail 11141 invoked by uid 507); 9 Jul 2007 23:35:05 -0000 Received: from unknown (HELO ?192.168.1.102?) (postmaster%schlueters.de@82.135.87.2) by mail4.netbeat.de with ESMTPA; 9 Jul 2007 23:35:05 -0000 To: Stanislav Malyshev Cc: Antony Dovgal , Andrei Zmievski , internals@lists.php.net In-Reply-To: <4692B7D4.6040001@zend.com> References: <1181829227.3478.3.camel@localhost.localdomain> <4678252F.2050803@sci.fi> <46783212.4020900@lerdorf.com> <34654.216.230.84.67.1183064088.squirrel@www.l-i-e.com> <54557.78.61.224.253.1183098089.squirrel@avilys.eik.lt> <4684BB91.4070507@zend.com> <2169.24.1.37.132.1183693664.squirrel@www.l-i-e.com> <1183699755.14343.5.camel@johannes.nop> <7d5a202f0707060224oa64dfeaw2c7ee17a735648f9@mail.gmail.com> <468E1158.2030900@lerdorf.com> <468E13C6.1070109@pooteeweet.org> <468E2009.9000703@zend.com> <468E7180.3020709@zend.com> <468E7256.10905@zend.com> <4692B1A3.1000808@zend.com> <4692B7D4.6040001@zend.com> Content-Type: text/plain Date: Tue, 10 Jul 2007 01:34:03 +0200 Message-ID: <1184024044.455.8.camel@johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 (2.10.2-2.fc7) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi, On Mon, 2007-07-09 at 15:33 -0700, Stanislav Malyshev wrote: > Fixing unicode=on does not remove the IS_STRING/IS_UNICODE duality. We > still have two kinds of data - unstructured bit stream and structured > text. But we still have the mess that most internal structures (function tables, class tables, ...) either hold an IS_STRING or IS_UNICODE depending on a configuration option - just check the amounts of UG(unicode)?IS_UNICODE:IS_STIRNG (that one even got a macro ZEND_STR_TYPE) kind of checks - these make the code way harder to read and maintain. And again: It is as easy to run PHP 5 and PHP 6 on the same host as PHP 6 with unicode and PHP 6 w/o so I can't see a BC benefit of that setting but I can see that this gives us two products with the same name - PHP 6. And that's bad. johannes