Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30721 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30641 invoked by uid 1010); 10 Jul 2007 06:43:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30626 invoked from network); 10 Jul 2007 06:43:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2007 06:43:27 -0000 Authentication-Results: pb1.pair.com smtp.mail=derick@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=derick@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 82.94.239.5 as permitted sender) X-PHP-List-Original-Sender: derick@php.net X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.6 Received: from [82.94.239.5] ([82.94.239.5:56362] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 8E/55-20881-F8A23964 for ; Tue, 10 Jul 2007 02:43:27 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.13.7/8.12.11) with ESMTP id l6A6hLlh004855; Tue, 10 Jul 2007 08:43:21 +0200 Date: Tue, 10 Jul 2007 08:43:21 +0200 (CEST) X-X-Sender: derick@kossu.ez.no To: =?UTF-8?Q?Nicolas_B=C3=A9rard-Nault?= cc: Antony Dovgal , Andrei Zmievski , Stanislav Malyshev , PHP Developers Mailing List In-Reply-To: <30bd80240707091527w6ad30ca5t6b5e6231591dc7da@mail.gmail.com> Message-ID: References: <1181829227.3478.3.camel@localhost.localdomain> <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> <30bd80240707091527w6ad30ca5t6b5e6231591dc7da@mail.gmail.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323329-856224698-1184049802=:32387" Subject: Re: [PHP-DEV] What is the use of "unicode.semantics" in PHP 6? From: derick@php.net (Derick Rethans) --8323329-856224698-1184049802=:32387 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 9 Jul 2007, Nicolas B=C3=A9rard-Nault wrote: > Permit me to give my 2 cents on that and share my small bit of experience > with PHP 6. >=20 > First of all, I totally agree with you Antony. I'm currently working on > deploying a big codebase in PHP 6 (for those of you who didn't know, I'm = the > GSoC student working on refactoring Jaws for PHP 6) and my head started t= o > ache when I began understanding all the complications of the unicode > implementation as it is right now. Basically, having that > unicode.semanticsPHP_INI switch just totally kills the fun because I > have to have a working > application if it is ON or OFF. Why? Just state that it only works when it is turned ON - I am pretty=20 sure that that's the way we'll go. > Long story short, this forces me to > explicitly define each string as either binary or unicode, which doesn't > make any "PHP sense". It's actually the first time I'm forced to explicit= ly > specify a variable type in PHP and I'm not sure I'm the only one who's no= t > happy about this. I like the unicode support and really appreciate all th= e > work that's been done on it but I absolutely think it should be implement= ed > without that headache/pain in the ass switch that'll make transition even > tougher for everyone. That I agree with :) Derick --=20 Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org --8323329-856224698-1184049802=:32387--