mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Fix Doc Bug #55532
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315994 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
748e586b10
commit
1ec8bcb2f1
3 changed files with 14 additions and 21 deletions
|
@ -17,9 +17,7 @@
|
|||
<para>
|
||||
Returns the numeric position of the first occurrence of
|
||||
<parameter>needle</parameter> in the <parameter>haystack</parameter>
|
||||
string. Unlike the <function>strrpos</function> before PHP 5, this
|
||||
function can take a full string as the <parameter>needle</parameter>
|
||||
parameter and the entire string will be used.
|
||||
string.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -31,7 +29,7 @@
|
|||
<term><parameter>haystack</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The string to search in
|
||||
The string to search in.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
<methodparam choice="opt"><type>int</type><parameter>offset</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Find position of last occurrence of a case-insensitive string in a string.
|
||||
Unlike <function>strrpos</function>, <function>strripos</function> is
|
||||
Find position of last occurrence of a string in a string. Unlike
|
||||
<function>strrpos</function>, <function>strripos</function> is
|
||||
case-insensitive.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -29,7 +29,7 @@
|
|||
<term><parameter>haystack</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The string to search in
|
||||
The string to search in.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -37,8 +37,8 @@
|
|||
<term><parameter>needle</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Note that the <parameter>needle</parameter> may be a string of one or
|
||||
more characters.
|
||||
If <parameter>needle</parameter> is not a string, it is converted
|
||||
to an integer and applied as the ordinal value of a character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -46,13 +46,9 @@
|
|||
<term><parameter>offset</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
The <parameter>offset</parameter> parameter may be specified to begin
|
||||
searching an arbitrary number of characters into the string.
|
||||
</para>
|
||||
<para>
|
||||
Negative offset values will start the search at
|
||||
<parameter>offset</parameter> characters from the
|
||||
<emphasis>start</emphasis> of the string.
|
||||
If specified, search will stop this number of characters counted from the
|
||||
beginning of the string. If the value is negative, search will instead start
|
||||
from that many characters from the end of the string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
|
@ -38,8 +38,7 @@
|
|||
<listitem>
|
||||
<para>
|
||||
If <parameter>needle</parameter> is not a string, it is converted
|
||||
to an integer and applied as the ordinal value of a character. The
|
||||
<parameter>needle</parameter> can only be a single character in PHP 4.
|
||||
to an integer and applied as the ordinal value of a character.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
@ -47,9 +46,9 @@
|
|||
<term><parameter>offset</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
May be specified to begin searching an arbitrary number of characters into
|
||||
the string. Negative values will stop searching at an arbitrary point
|
||||
prior to the end of the string.
|
||||
If specified, search will stop this number of characters counted from the
|
||||
beginning of the string. If the value is negative, search will instead start
|
||||
from that many characters from the end of the string.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
|
Loading…
Reference in a new issue