Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79701 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71174 invoked from network); 16 Dec 2014 08:49:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2014 08:49:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=smalyshev@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=smalyshev@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.180 as permitted sender) X-PHP-List-Original-Sender: smalyshev@gmail.com X-Host-Fingerprint: 209.85.214.180 mail-ob0-f180.google.com Received: from [209.85.214.180] ([209.85.214.180:59808] helo=mail-ob0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/56-34244-512FF845 for ; Tue, 16 Dec 2014 03:49:25 -0500 Received: by mail-ob0-f180.google.com with SMTP id wp4so21934263obc.11 for ; Tue, 16 Dec 2014 00:49:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=saii7uDxioJdESWYnhF1CpTX5TclmBaQCIE2m3p0ROM=; b=qItiCXb6xzAurniXRBKADh4oKYBnXucCUzf9SfvlsMythMfhwM2H1r64EfTu1qJRSV eihasaP7yThTTCuhQAndmj94Q3nLaqxqYaKY2uro8WErVsY55BEcuw1X6F4dTqnh6RRJ toWbRS8nhdbEJpyI5dYaD7CtmPt9b8HyDPJ3PEqB1vxfSEZXGpDTuFs09NEET3QKINrn m1iHn9vEYyyj02EBAiwj1wXV5p2nxZRYBAmg+8zrvibMwtBx+cFXVqS4G36g6RL5uHlt mby0PbT+93OyPlg7EaJbEZgIfabPSrqrb+Jxrov1oAZNr5Ase1W40hAr9BQG1tCEZANe ClTw== X-Received: by 10.202.182.11 with SMTP id g11mr10034812oif.13.1418719762120; Tue, 16 Dec 2014 00:49:22 -0800 (PST) Received: from [192.168.2.145] (108-66-6-48.lightspeed.sntcca.sbcglobal.net. [108.66.6.48]) by mx.google.com with ESMTPSA id n66sm75909oig.2.2014.12.16.00.49.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Dec 2014 00:49:21 -0800 (PST) Message-ID: <548FF210.4070903@gmail.com> Date: Tue, 16 Dec 2014 00:49:20 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Sara Golemon , PHP internals References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] IntlChar class and intl_char_*() functions From: smalyshev@gmail.com (Stanislav Malyshev) Hi! > Full implementation available now at > https://github.com/sgolemon/php-src/compare/intl.uchar > RFC updated to remove the functional API and clarify some things based > on what I learned while implementing. Thanks for your work! I think it may be good to make it a pull, since it'd be easier to comment on that (and also Travis can say its word of course :) > Pay special attention to the #notes section regarding $limit which I > think is a somewhat non-PHP API. It says "some methods" but I found just one which is user-callable - enumCharNames - and one that consumes callback with the same setup - enumCharTypes - in the latter case I don't think it makes sense to change anything since it's a callback for ICU. So, if I didn't miss anything, it's one function and at that one that has matching callback in ICU API. So I think it's best to leave it as is, especially that PHP doesn't have the concept of ranges as such... -- Stas Malyshev smalyshev@gmail.com