Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:79689 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47284 invoked from network); 16 Dec 2014 07:19:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Dec 2014 07:19:14 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:38334] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0F/91-34244-1FCDF845 for ; Tue, 16 Dec 2014 02:19:13 -0500 Received: by mail-la0-f50.google.com with SMTP id pn19so10634041lab.23 for ; Mon, 15 Dec 2014 23:19:10 -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:content-type; bh=It3CmVXNCS5W58sUk1hFhOIdLJNYzlnIxpN+ySvwkMs=; b=a9Lv0YS2hEbIluUzd1fEg+uCi0lK6/KuatDfsEi57e48m7PH1sI5JONNGh8RcXlWOQ SRcmdmO53OTnG3bQFxrgd3YIzziyRkq+DVr8AQyA/85G8Z12fhuG1yz6ip3AXMfhln8H MYCjqQkTo0co84hzT3UbjF0SFuLBtqcbbEEyFnlYgBburdsiIzXZ8XJ1nbHT7+9C0H2k KdL9d/bp2azYbM18u7YvAlN4JtuwITVkJfK+Swsw+FYR57+zue9Fa4RhMvXCcnNelhhu 80l7tnTwbEBsIhzTviBXNL6o3UfdFvP8RnuCtYw0LrC1O7DvudDbnS/VWR6+1y2JQ5QV 1PFw== X-Gm-Message-State: ALoCoQlxHOOijFjWu+3M2numJZAnttT22n6gwZFhXSOoqyhX8vggMZLyq5MNr0hEKEFIQpDkLwI0 MIME-Version: 1.0 X-Received: by 10.112.136.69 with SMTP id py5mr20310347lbb.56.1418714350093; Mon, 15 Dec 2014 23:19:10 -0800 (PST) Sender: php@golemon.com Received: by 10.112.130.138 with HTTP; Mon, 15 Dec 2014 23:19:09 -0800 (PST) X-Originating-IP: [69.63.185.56] In-Reply-To: References: Date: Mon, 15 Dec 2014 23:19:09 -0800 X-Google-Sender-Auth: XNsrxzsNesE9t4ONnl5dX6ZQMkc Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [RFC] IntlChar class and intl_char_*() functions From: pollita@php.net (Sara Golemon) On Mon, Nov 24, 2014 at 8:47 PM, Sara Golemon wrote: > While playing around with Andrea's unicode literals syntax proposal, I > was reminded of just how little of ICU is exposed. I've put up a > short proposal for adding IntlChar exporting these APIs as static > methods (with a matching non-oop interface). > > https://wiki.php.net/rfc/intl.char > 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. Pay special attention to the #notes section regarding $limit which I think is a somewhat non-PHP API. -Sara