reference/intl/grapheme/grapheme-strrpos.xml
2245ff665ae4b3037728ee52c247b409ad75de35
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<para>&style.procedural;</para>
11
11
<methodsynopsis>
12
-
<type>int</type><methodname>grapheme_strrpos</methodname>
12
+
<type class="union"><type>int</type><type>false</type></type><methodname>grapheme_strrpos</methodname>
13
13
<methodparam><type>string</type><parameter>haystack</parameter></methodparam>
14
14
<methodparam><type>string</type><parameter>needle</parameter></methodparam>
15
15
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
...
...
@@ -43,10 +43,10 @@
43
43
<term><parameter>offset</parameter></term>
44
44
<listitem>
45
45
<para>
46
-
The optional $offset parameter allows you to specify where in $haystack to
46
+
The optional <parameter>offset</parameter> parameter allows you to specify where in <parameter>haystack</parameter> to
47
47
start searching as an offset in grapheme units (not bytes or characters).
48
-
The position returned is still relative to the beginning of haystack
49
-
regardless of the value of $offset.
48
+
The position returned is still relative to the beginning of <parameter>haystack</parameter>
49
+
regardless of the value of <parameter>offset</parameter>.
50
50
</para>
51
51
</listitem>
52
52
</varlistentry>
...
...
@@ -58,7 +58,7 @@
58
58
<refsect1 role="returnvalues">
59
59
&reftitle.returnvalues;
60
60
<para>
61
-
Returns the position as an integer. If needle is not found, grapheme_strrpos() will return boolean FALSE.
61
+
Returns the position as an integer. If <parameter>needle</parameter> is not found, <function>grapheme_strrpos</function> will return &false;.
62
62
</para>
63
63
</refsect1>
64
64
...
...
@@ -103,7 +103,6 @@ print grapheme_strrpos( $char_a_ring_nfd . $char_o_diaeresis_nfd . $char_o_diaer
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