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
13 changes: 13 additions & 0 deletions reference/mbstring/functions/mb-stripos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,19 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down
13 changes: 13 additions & 0 deletions reference/mbstring/functions/mb-strpos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,19 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down
14 changes: 9 additions & 5 deletions reference/mbstring/functions/mb-strripos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,18 @@
</para>
</refsect1>

<!-- Use when ERRORS exist
<refsect1 role="errors">
&reftitle.errors;
<para>
When does this function throw E_* level errors, or exceptions?
</para>
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>
-->

<refsect1 role="changelog">
&reftitle.changelog;
Expand Down
13 changes: 13 additions & 0 deletions reference/mbstring/functions/mb-strrpos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,19 @@
</para>
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down
13 changes: 13 additions & 0 deletions reference/strings/functions/stripos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,19 @@
&return.falseproblem;
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down
13 changes: 13 additions & 0 deletions reference/strings/functions/strpos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,19 @@
&return.falseproblem;
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down
13 changes: 13 additions & 0 deletions reference/strings/functions/strripos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@
&return.falseproblem;
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down
13 changes: 13 additions & 0 deletions reference/strings/functions/strrpos.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,19 @@
&return.falseproblem;
</refsect1>

<refsect1 role="errors">
&reftitle.errors;
<itemizedlist>
<listitem>
<simpara>
If <parameter>offset</parameter> is greater than the length of
<parameter>haystack</parameter>, a
<classname>ValueError</classname> will be thrown.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
&reftitle.changelog;
<informaltable>
Expand Down