Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122740 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 668891A009C for ; Mon, 25 Mar 2024 20:43:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1711399455; bh=2L46a+sRQCvoVZ7i3Kfr+cAkE7HrtVSry1d5Py0pBps=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=ef3FNq7GxWuexC2e1wm4EuKNaz/QDeHSMTup/i6Y5HFjpxmtp8hoffTrYDGnwZhq2 3Snlo/4QsTaCGnG8mMqbioElHMgUjAkWR5h33pjYfeGer55oi+qfXB0mkXI1LGNAnf EB1nnHIGeQ58RxAwOIDBJRVpXqVUWjmdkxB3feJMUzhhZBoid854a+cKZnCW5xOqNA i2w095mWIPcTjo9wc4NqsX71M9HbCz2k75GCBGAlegfY8hbKr7Y/L9MKqXlq7cBTF+ 3zTjGuGJqJ/MV8y8qy35oHSnTefxXwg8XIMYs6wYHeSoKKDfLdoidqpoLQDohpakog rleCtz2IwoXEA== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 3B762180041 for ; Mon, 25 Mar 2024 20:44:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_PASS,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail-qv1-f47.google.com (mail-qv1-f47.google.com [209.85.219.47]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 25 Mar 2024 20:44:11 +0000 (UTC) Received: by mail-qv1-f47.google.com with SMTP id 6a1803df08f44-696147fb5a7so46129866d6.0 for ; Mon, 25 Mar 2024 13:43:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1711399427; x=1712004227; darn=lists.php.net; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=2L46a+sRQCvoVZ7i3Kfr+cAkE7HrtVSry1d5Py0pBps=; b=JwO4AuaO9TqT/Y7/WD/+MJiPoTUBTGB7gwBETWP03ytLDNQjtZP1aIyniMJUsmchHT k8SS4yyId5mYCEk1bCtXuPmZFkkdc1GxC8U3m8bn0H0IZcRdbMg6HCPJlowCRhnzus/k 7hRrSWaP6l3XBsmxmo+ovV37SQZCx0B0tTeBtZ0aIgAsjXQEFGsbzRUg/7NEdiObqZlm CpaDkg8/J7z7DISeoETXJUrRbemXPNdidwMfItU4WMY5XLRa7Qc1r8TXZXxnmTFHAnNC hRUfgZzmlrhFu+hvxnOzketboRiM9Jj1GndBoT/wX8n1oFqI2i0PqVUpwNVoXK6fb7G+ 3H0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711399427; x=1712004227; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2L46a+sRQCvoVZ7i3Kfr+cAkE7HrtVSry1d5Py0pBps=; b=OoCgfis+g/bSBRCOv2HlBryVgh8eHi76Jp5q8HMglhgD/Fcehm2bVg0q82RDggIqoG xVd6+yWzihAbublTAS+2KJBfl4GmR2qblQVYxo0oyGCL3heDF7mfxjNwUEZPtfA2svXk VAHNdWuyviCp0sI9RS2l/MWcKnKQ2mwXJZOP4dcqTsTMuw1rzRTxB7dbbpHzVSWGqloL wGd3UZtuMyUwmDpm3aQlzmE48A/xC20Gi/i54bijuaeghRU6Zj20H+nhlq4LpbDLiwGI X7hiUII2hMV5SB2bVdnpT0j1H3ZRgODouwM2guuVty4/bARoAfkjSAXmtFKGZMkxzrKH Ae8Q== X-Forwarded-Encrypted: i=1; AJvYcCWpI3Ww3mS7ekAGoL53jeUXr6QjBNBO7MOOcaQMVWaBTr9q6kGqqHAhr+4rIiADbZfM5ltRJkjWc+GtCmJd96PjPWvN7sepsw== X-Gm-Message-State: AOJu0Yygs7iJemNCiXp1k5IVkIc9YZquPZ0/FQ+Hv1oOOsQ2uq3xHWPW vHhljhOVyjCoABPpyk32Hkyp0w+QZnoghKf8ATxTi3tN5CUTmI0Kcn5rspy1ljf82fmTcdlCC4X ZPgKovNZHP89BfGQnvS8dNSR+1rc= X-Google-Smtp-Source: AGHT+IH3/WkslODGMws9Tt7RyFO42gwMR0VCNdN8XdWJy54JNJT0DVw8zcyxp3ioeY4MM/0U/a/7gCOnPfCoL+AjyIg= X-Received: by 2002:a05:6214:2249:b0:696:758f:72c with SMTP id c9-20020a056214224900b00696758f072cmr10731501qvc.54.1711399426926; Mon, 25 Mar 2024 13:43:46 -0700 (PDT) Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 25 Mar 2024 20:43:35 +0000 Message-ID: Subject: Re: [PHP-DEV][RFC] grapheme cluster for str_split, grapheme_str_split function To: Ayesh Karunaratne Cc: youkidearitai , php internals Content-Type: multipart/alternative; boundary="000000000000e9325b0614823ada" From: devnexen@gmail.com (David CARLIER) --000000000000e9325b0614823ada Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I second this, I think it is a good addition which makes a lot of sense. Cheers. On Mon, 25 Mar 2024 at 20:36, Ayesh Karunaratne wrote: > > > > 2024=E5=B9=B43=E6=9C=889=E6=97=A5(=E5=9C=9F) 15:26 youkidearitai : > > > > > > Hello, Internals > > > > > > I created an wiki for `grapheme_str_split` function. > > > Please see: > > > https://wiki.php.net/rfc/grapheme_str_split > > > > > > I would like to "Under Discussion" section. > > > > > > Best Regards > > > Yuya > > > > > > -- > > > --------------------------- > > > Yuya Hamada (tekimen) > > > - https://tekitoh-memdhoi.info > > > - https://github.com/youkidearitai > > > ----------------------------- > > > > Hello, Internals > > > > I want to go to "Voting" phase if nothing any comment. > > I will start at tomorrow(26th) to "Voting" phase. > > > > Thank you > > Yuya > > > > -- > > --------------------------- > > Yuya Hamada (tekimen) > > - https://tekitoh-memdhoi.info > > - https://github.com/youkidearitai > > ----------------------------- > > I think it makes sense to add this function, and the PR worked well > too; It correctly split individual graphemes for all comlex Emojis, > ZWJs, and those Cthulu texts, and everything else I threw at it. > > Good luck for the RFC vote today, hope it passes =F0=9F=A4=9E. > --000000000000e9325b0614823ada Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I second this, I think it is a good addition which makes a= lot of sense.

Cheers.

On Mon, 25 Mar 2024 at 20:36= , Ayesh Karunaratne <ayesh@php.watch> wrote:
>
> 2024=E5=B9=B43=E6=9C=889=E6=97=A5(=E5=9C=9F) 15:26 youkidearitai <<= a href=3D"mailto:youkidearitai@gmail.com" target=3D"_blank">youkidearitai@g= mail.com>:
> >
> > Hello, Internals
> >
> > I created an wiki for `grapheme_str_split` function.
> > Please see:
> > https://wiki.php.net/rfc/grapheme_str_split=
> >
> > I would like to "Under Discussion" section.
> >
> > Best Regards
> > Yuya
> >
> > --
> > ---------------------------
> > Yuya Hamada (tekimen)
> > - https://tekitoh-memdhoi.info
> > - https://github.com/youkidearitai
> > -----------------------------
>
> Hello, Internals
>
> I want to go to "Voting" phase if nothing any comment.
> I will start at tomorrow(26th) to "Voting" phase.
>
> Thank you
> Yuya
>
> --
> ---------------------------
> Yuya Hamada (tekimen)
> - https://tekitoh-memdhoi.info
> - https://github.com/youkidearitai
> -----------------------------

I think it makes sense to add this function, and the PR worked well
too; It correctly split individual graphemes for all comlex Emojis,
ZWJs, and those Cthulu texts, and everything else I threw at it.

Good luck for the RFC vote today, hope it passes =F0=9F=A4=9E.
--000000000000e9325b0614823ada--