Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30900 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63958 invoked by uid 1010); 14 Jul 2007 06:19:01 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63942 invoked from network); 14 Jul 2007 06:19:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Jul 2007 06:19:01 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:19969] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 22/FB-11631-3DA68964 for ; Sat, 14 Jul 2007 02:19:01 -0400 Received: from [127.0.0.1] ([192.168.17.11]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 13 Jul 2007 23:18:56 -0700 Message-ID: <46986ACD.2030702@zend.com> Date: Fri, 13 Jul 2007 23:18:53 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: ceo@l-i-e.com CC: 'PHP Internals' References: <4697D3EA.2090201@zend.com> <2166.24.1.37.132.1184392999.squirrel@www.l-i-e.com> In-Reply-To: <2166.24.1.37.132.1184392999.squirrel@www.l-i-e.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 Jul 2007 06:18:56.0426 (UTC) FILETIME=[DBCAC8A0:01C7C5DE] Subject: Re: [PHP-DEV] PHP ICU project announcement From: stas@zend.com (Stanislav Malyshev) > So now there's going to be a PHP-ICU extension for PHP 5 and PHP 6, > and PHP 6 will have ICU built-in to such an extent that it's backwards > compatible with PHP 5? Both extensions would be (are being) written in such a way that code that worked on PHP 5 would work on PHP 6, with regard to the extension. Of course, particular code still could fail for some other reason, not related to the ICU extension. I.e. if you call collator_sort($foo, $bar), collator_sort being ICU extension function, it would mean the same in PHP 5 and PHP 6. > And what in the world would you do with PHP-ICU extension in PHP 6? > I mean, unless you've type-casted a string to binary or whatever, it's > already ICU, no?... I think you are confusing UTF-16 and ICU. ICU is a huge library of Unicode text functions, which so far weren't supported in PHP except for some collation support. There's a lot of functions to add there. UTF-16 is just a way to represent text in bits (and ICU uses it, and so does PHP 6). The extension would expose a part of ICU functionality to PHP users - such as collators, formatters, resources, etc. HTH, -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com