mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Standartized description of iconv-str(r)pos functions.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315172 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
299675fb21
commit
e7a895dfc2
2 changed files with 9 additions and 5 deletions
|
@ -16,7 +16,8 @@
|
|||
<methodparam choice="opt"><type>string</type><parameter>charset</parameter><initializer>ini_get("iconv.internal_encoding")</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Finds position of first occurrence of a needle within a haystack.
|
||||
Finds position of first occurrence of a <parameter>needle</parameter>
|
||||
within a <parameter>haystack</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
In contrast to <function>strpos</function>, the return value of
|
||||
|
|
|
@ -15,10 +15,15 @@
|
|||
<methodparam choice="opt"><type>string</type><parameter>charset</parameter><initializer>ini_get("iconv.internal_encoding")</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
In contrast to <function>strpos</function>, the return value of
|
||||
Finds the last occurrence of a <parameter>needle</parameter>
|
||||
within a <parameter>haystack</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
In contrast to <function>strrpos</function>, the return value of
|
||||
<function>iconv_strrpos</function> is the number of characters that
|
||||
appear before the needle, rather than the offset in bytes to the
|
||||
position where the needle has been found.
|
||||
position where the needle has been found. The characters are counted
|
||||
on the basis of the specified character set <parameter>charset</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -66,8 +71,6 @@
|
|||
<para>
|
||||
Returns the numeric position of the last occurrence of
|
||||
<parameter>needle</parameter> in <parameter>haystack</parameter>.
|
||||
The characters are counted
|
||||
on the basis of the specified character set <parameter>charset</parameter>.
|
||||
</para>
|
||||
<para>
|
||||
If <parameter>needle</parameter> is not found,
|
||||
|
|
Loading…
Reference in a new issue