Skip to content

Commit 7f25685

Browse files
committed
[PHP 8.4] Add manual for grapheme_str_split function
php/doc-en@31e3015
1 parent ae490ed commit 7f25685

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

reference/mbstring/functions/mb-str-split.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
<para>
9696
<simplelist>
9797
<member><function>str_split</function></member>
98+
<member><function>grapheme_str_split</function></member>
9899
</simplelist>
99100
</para>
100101
</refsect1>

reference/strings/functions/str-split.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: e1621b408bdd443153611090847023aa39829bb0 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: 31e301590744e91ee5903f3e20973ddb9f3dadbb Maintainer: takagi Status: ready -->
44
<!-- Credits: mumumu -->
55
<refentry xml:id="function.str-split" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -160,6 +160,8 @@ Array
160160
<function>str_split</function> でのマルチバイト文字列の扱いは、文字単位ではなくバイト単位での分割になります。
161161
コードポイント単位で文字列を分割するには、
162162
<function>mb_str_split</function> を使います。
163+
文字列を書記素クラスターに分割するには、
164+
<function>grapheme_str_split</function> を使います。
163165
</para>
164166
</note>
165167
</refsect1>
@@ -169,6 +171,7 @@ Array
169171
<para>
170172
<simplelist>
171173
<member><function>mb_str_split</function></member>
174+
<member><function>grapheme_str_split</function></member>
172175
<member><function>chunk_split</function></member>
173176
<member><function>preg_split</function></member>
174177
<member><function>explode</function></member>

0 commit comments

Comments
 (0)