Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:31136 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7770 invoked by uid 1010); 20 Jul 2007 20:46:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 7754 invoked from network); 20 Jul 2007 20:46:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jul 2007 20:46:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:3355] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 73/DA-13062-11F11A64 for ; Fri, 20 Jul 2007 16:46:11 -0400 Received: (qmail 6609 invoked by uid 98); 20 Jul 2007 20:46:11 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.01 (clamdscan: 0.88.7/3702. Clear:RC:1(127.0.0.1):. Processed in 0.072383 secs); 20 Jul 2007 20:46:11 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 20 Jul 2007 20:46:11 -0000 Received: from 24.12.13.192 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Fri, 20 Jul 2007 15:46:11 -0500 (CDT) Message-ID: <3578.24.12.13.192.1184964371.squirrel@www.l-i-e.com> In-Reply-To: <46A00754.3070507@zend.com> References: <698DE66518E7CA45812BD18E807866CE648191@us-ex1.zend.net> <469C6436.2060009@pooteeweet.org> <698DE66518E7CA45812BD18E807866CE6483DF@us-ex1.zend.net> <469CD717.2070607@pooteeweet.org> <469CE8CE.5080208@zend.com> <698DE66518E7CA45812BD18E807866CE648722@us-ex1.zend.net> <20A6448D-A497-4D95-AA9E-72D69421BB88@gravitonic.com> <469FE9F6.7050406@zend.com> <-4830671619941995385@unknownmsgid> <46A00754.3070507@zend.com> Date: Fri, 20 Jul 2007 15:46:11 -0500 (CDT) To: "Stanislav Malyshev" Cc: "David Coallier" , scott.mcnaught@synergy8.com, internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] POSIX regex From: ceo@l-i-e.com ("Richard Lynch") On Thu, July 19, 2007 7:52 pm, Stanislav Malyshev wrote: >> Yeah I also like that casting better than the "u" > > It's different things. Casting means "create string as binary, then in > runtime cast it to unicode", u"" means "this string is unicode". Oh. I think we're going to have to write some documentation on that one before implementation, or a zillion users are gonna be very very confused... If it remains one of those "undocumented function" for any length of time, expect mass confusion :-) u"stuff typed in unicode" to allow creation of Unicode strings in PHP5 seems like a Good Idea to this naive reader, if it's easy enough to code that. It may even ease the transition from 5 to 6 for some? Presumably u"foo" would be a no-op in PHP 6 with semantics "on" and not generate some kind of silly error or something, right?... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?