grapheme_extract - new arg

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260024 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ed Batutis 2008-05-20 01:31:37 +00:00
parent e90291b5fe
commit 891e1f15b2

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.3 $ -->
<!-- $Revision: 1.4 $ -->
<refentry xml:id="function.grapheme-extract" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>grapheme_extract</refname>
@ -12,7 +12,9 @@
<type>string</type><methodname>grapheme_extract</methodname>
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>int</type><parameter>size</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>extract_type</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter>start</parameter></methodparam>
<methodparam choice='opt'><type>int</type><parameter role="reference">next</parameter></methodparam>
</methodsynopsis>
<para>
Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8.
@ -68,6 +70,16 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>next</parameter></term>
<listitem>
<para>
Reference to a value that will be set to the next starting position.
When the call returns, this may point to the first byte position past the end of the string.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>