Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:54619 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8544 invoked from network); 15 Aug 2011 08:30:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Aug 2011 08:30:32 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 67.192.241.203 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 67.192.241.203 smtp203.dfw.emailsrvr.com Linux 2.6 Received: from [67.192.241.203] ([67.192.241.203:47746] helo=smtp203.dfw.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 34/D1-31518-829D84E4 for ; Mon, 15 Aug 2011 04:30:32 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp10.relay.dfw1a.emailsrvr.com (SMTP Server) with ESMTP id E6CB61B81C3; Mon, 15 Aug 2011 04:30:29 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp10.relay.dfw1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 6EFFF1B8042; Mon, 15 Aug 2011 04:30:29 -0400 (EDT) Message-ID: <4E48D924.40603@sugarcrm.com> Date: Mon, 15 Aug 2011 01:30:28 -0700 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Lester Caine CC: PHP Internals References: <4E48121A.3090007@sugarcrm.com> <4E48134E.4030708@sugarcrm.com> <4E481695.6040900@php.net> <4E483804.7070009@sugarcrm.com> <4E484037.2080107@php.net> <4E4843B0.70605@php.net> <4E48D6E7.2000203@lsces.co.uk> In-Reply-To: <4E48D6E7.2000203@lsces.co.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [VOTE]strn(case)cmp supporting a negative length as its third paramter From: smalyshev@sugarcrm.com (Stas Malyshev) Hi! On 8/15/11 1:20 AM, Lester Caine wrote: > probably part of unicode compatibility, and in that vane, would it be possible > to create a 'namespace' version of string functions which could be a little more > consistent, and also offer the chance to switch to full unicode comparison if > required? sb:: -> mb:: transparently working the same way? needle and haystack > order comes to mind as well? It would be possible. If somebody actually does that :) People talk about that for years, but nobody actually sat and did that. -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227