reference/intl/grapheme/grapheme-strstr.xml
d25989728702c2f55c4666840d07683ed73ae24d
...
...
@@ -3,16 +3,16 @@
3
3
<refentry xml:id="function.grapheme-strstr" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
4
4
<refnamediv>
5
5
<refname>grapheme_strstr</refname>
6
-
<refpurpose>Returns part of haystack string from the first occurrence of needle to the end of haystack.</refpurpose>
6
+
<refpurpose>Returns part of haystack string from the first occurrence of needle to the end of haystack</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<para>&style.procedural;</para>
11
11
<methodsynopsis>
12
-
<type>string</type><methodname>grapheme_strstr</methodname>
12
+
<type class="union"><type>string</type><type>false</type></type><methodname>grapheme_strstr</methodname>
13
13
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
15
-
<methodparam choice="opt"><type>bool</type><parameter>before_needle</parameter><initializer>false</initializer></methodparam>
15
+
<methodparam choice="opt"><type>bool</type><parameter>beforeNeedle</parameter><initializer>&false;</initializer></methodparam>
16
16
</methodsynopsis>
17
17
<para>
18
18
Returns part of haystack string from the first occurrence of needle to the end of haystack (including the needle).
...
...
@@ -40,11 +40,11 @@
40
40
</listitem>
41
41
</varlistentry>
42
42
<varlistentry>
43
-
<term><parameter>before_needle</parameter></term>
43
+
<term><parameter>beforeNeedle</parameter></term>
44
44
<listitem>
45
45
<para>
46
-
If &true;, grapheme_strstr() returns the part of the
47
-
haystack before the first occurrence of the needle (excluding the needle).
46
+
If &true;, <function>grapheme_strstr</function> returns the part of the
47
+
<parameter>haystack</parameter> before the first occurrence of the <parameter>needle</parameter> (excluding the <parameter>needle</parameter>).
48
48
</para>
49
49
</listitem>
50
50
</varlistentry>
...
...
@@ -56,7 +56,7 @@
56
56
<refsect1 role="returnvalues">
57
57
&reftitle.returnvalues;
58
58
<para>
59
-
Returns the portion of string, or FALSE if needle is not found.
59
+
Returns the portion of <parameter>haystack</parameter>, or &false; if <parameter>needle</parameter> is not found.
60
60
</para>
61
61
</refsect1>
62
62
...
...
@@ -103,7 +103,6 @@ o%CC%88a%CC%8A
103
103
</para>
104
104
</refsect1>
105
105
</refentry>
106
-

107
106
<!-- Keep this comment at the end of the file
108
107
Local variables:
109
108
mode: sgml
110
109