Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79736 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 69048 invoked from network); 16 Dec 2014 18:21:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2014 18:21:44 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.217.182 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.217.182 mail-lb0-f182.google.com Received: from [209.85.217.182] ([209.85.217.182:44058] helo=mail-lb0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CB/0A-12185-73870945 for ; Tue, 16 Dec 2014 13:21:44 -0500 Received: by mail-lb0-f182.google.com with SMTP id f15so12467139lbj.27 for ; Tue, 16 Dec 2014 10:21:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=MKHxk2k4jvyRFRuUBLDFEU1yEj5GJmJsynzh9/40Hvo=; b=HSxZ4/l9Y5UvqEtelJ1I/b4KA8IpmjX9MAKdRrykwQbZccDXXEt7af73xR2z3rXKT/ r+d1Xzyc8bVxVAXuBkyPm2NTCnzqSCMyJQA+Rf4uwlgqc4QQOe3SmLCuq7AjqMGVtBAc kdCruHPO2yg+4AkvkKx697/q6lKZw5pf6GVfbwshQgp66OR8BzwJ+ZBL4DM+E17rCCOH asWUibdmtSlV/Yh+1+mVmwd1O8El/wVg4i7YwIHcatVKV2NssVUAwo8xoh0Jia18WvzC J/psvnjXSKjTLOklthuQHhLXzHvGVOGs2ajkvt5AZzylUk1nHuHcLiQ2J13MSGUZO57I tOig== X-Gm-Message-State: ALoCoQnAmSCpc+PKAEz1BElEpIrY6s7xkwHucOCBWQrymXi1/T7k1UagMginI8oAZ2R4eS6YnGnN MIME-Version: 1.0 X-Received: by 10.152.206.108 with SMTP id ln12mr31870766lac.3.1418754100565; Tue, 16 Dec 2014 10:21:40 -0800 (PST) Sender: php@golemon.com Received: by 10.112.130.138 with HTTP; Tue, 16 Dec 2014 10:21:40 -0800 (PST) X-Originating-IP: [2620:10d:c082:1003:22c9:d0ff:fe87:295b] In-Reply-To: <548FF210.4070903@gmail.com> References: <548FF210.4070903@gmail.com> Date: Tue, 16 Dec 2014 10:21:40 -0800 X-Google-Sender-Auth: _xUWg_FGmnZRGsQqeWPGvPORtOw Message-ID: To: Stanislav Malyshev Cc: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Re: [RFC] IntlChar class and intl_char_*() functions From: pollita@php.net (Sara Golemon) On Tue, Dec 16, 2014 at 12:49 AM, Stanislav Malyshev wrote: > 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 :) > Can do! https://github.com/php/php-src/pull/961 > 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... > You've read it right and I agree with you. The less magic the better. I just wanted to call it out since it lacks some intuitiveness. -Sara