Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions language-snippets.ent
Original file line number Diff line number Diff line change
Expand Up @@ -1289,6 +1289,15 @@ Passing untrusted data to this parameter is <emphasis>insecure</emphasis>, unles

<!ENTITY intl.property.example 'Testing different properties'>

<!ENTITY intl.param.grapheme.locale '<simpara>Locale to use.</simpara>'>

<!ENTITY intl.changelog.grapheme.locale '<row xmlns="http://docbook.org/ns/docbook">
<entry>8.5.0</entry>
<entry>
The optional parameter <parameter>locale</parameter> has been added.
</entry>
</row>'>

<!-- LDAP notes -->

<!ENTITY ldap.parameter.ldap 'An <classname xmlns="http://docbook.org/ns/docbook">LDAP\Connection</classname> instance, returned by <function xmlns="http://docbook.org/ns/docbook">ldap_connect</function>.'>
Expand Down
23 changes: 23 additions & 0 deletions reference/intl/grapheme/grapheme-str-split.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</refsect1>

Expand All @@ -60,6 +66,23 @@
</simpara>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
Expand Down
13 changes: 10 additions & 3 deletions reference/intl/grapheme/grapheme-stripos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of first occurrence of a case-insensitive string
Expand Down Expand Up @@ -51,18 +52,23 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>



<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the position as an integer. If <parameter>needle</parameter> is not found, <function>grapheme_stripos</function> will return &false;.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -74,6 +80,7 @@
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
<row>
<entry>7.1.0</entry>
<entry>
Expand Down
24 changes: 24 additions & 0 deletions reference/intl/grapheme/grapheme-stristr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>beforeNeedle</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Returns part of <parameter>haystack</parameter> string starting from and including the first occurrence of case-insensitive needle to the end of <parameter>haystack</parameter>.
Expand Down Expand Up @@ -48,6 +49,12 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
Expand All @@ -59,6 +66,23 @@
Returns the portion of <parameter>haystack</parameter>, or &false; if <parameter>needle</parameter> is not found.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
Expand Down
13 changes: 10 additions & 3 deletions reference/intl/grapheme/grapheme-strpos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of first occurrence of a string
Expand Down Expand Up @@ -51,18 +52,23 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>



<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the position as an integer. If <parameter>needle</parameter> is not found, <function>grapheme_strpos</function> will return &false;.
</para>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand All @@ -74,6 +80,7 @@
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
<row>
<entry>7.1.0</entry>
<entry>
Expand Down
29 changes: 26 additions & 3 deletions reference/intl/grapheme/grapheme-strripos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of last occurrence of a case-insensitive string
Expand Down Expand Up @@ -50,18 +51,40 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>



<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the position as an integer. If <parameter>needle</parameter> is not found, <function>grapheme_strripos</function> will return &false;.
</para>
</refsect1>


<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<example>
Expand Down
29 changes: 26 additions & 3 deletions reference/intl/grapheme/grapheme-strrpos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Find position (in grapheme units) of last occurrence of a string
Expand Down Expand Up @@ -50,18 +51,40 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>



<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the position as an integer. If <parameter>needle</parameter> is not found, <function>grapheme_strrpos</function> will return &false;.
</para>
</refsect1>


<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<example>
Expand Down
29 changes: 26 additions & 3 deletions reference/intl/grapheme/grapheme-strstr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>beforeNeedle</parameter><initializer>&false;</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Returns part of haystack string from the first occurrence of needle to the end of haystack (including the needle).
Expand Down Expand Up @@ -48,18 +49,40 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>



<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the portion of <parameter>haystack</parameter>, or &false; if <parameter>needle</parameter> is not found.
</para>
</refsect1>


<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
</tbody>
</tgroup>
</informaltable>
</refsect1>

<refsect1 role="examples">
&reftitle.examples;
<example>
Expand Down
11 changes: 9 additions & 2 deletions reference/intl/grapheme/grapheme-substr.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam><type>int</type><parameter>offset</parameter></methodparam>
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
<methodparam choice="opt"><type>string</type><parameter>locale</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
Return part of a string
Expand Down Expand Up @@ -57,11 +58,16 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>locale</parameter></term>
<listitem>
&intl.param.grapheme.locale;
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>



<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Expand All @@ -80,6 +86,7 @@
</row>
</thead>
<tbody>
&intl.changelog.grapheme.locale;
<row>
<entry>8.0.0</entry>
<entry>
Expand Down
Loading