svn: /phpdoc/en/trunk/reference/iconv/functions/ iconv-strpos.xml iconv-strrpos.xml
| From: | Shein Alexey | Date: | Fri, 19 Aug 2011 10:03:54 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/iconv/functions/ iconv-strpos.xml iconv-strrpos.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8649@lists.php.net to get a copy of this message | ||
shein Fri, 19 Aug 2011 10:03:54 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=315172
Log:
Standartized description of iconv-str(r)pos functions.
Changed paths:
U phpdoc/en/trunk/reference/iconv/functions/iconv-strpos.xml
U phpdoc/en/trunk/reference/iconv/functions/iconv-strrpos.xml
Modified: phpdoc/en/trunk/reference/iconv/functions/iconv-strpos.xml
===================================================================
--- phpdoc/en/trunk/reference/iconv/functions/iconv-strpos.xml 2011-08-19 10:00:31 UTC (rev 315171)
+++ phpdoc/en/trunk/reference/iconv/functions/iconv-strpos.xml 2011-08-19 10:03:54 UTC (rev 315172)
@@ -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
Modified: phpdoc/en/trunk/reference/iconv/functions/iconv-strrpos.xml
===================================================================
--- phpdoc/en/trunk/reference/iconv/functions/iconv-strrpos.xml 2011-08-19 10:00:31 UTC (rev 315171)
+++ phpdoc/en/trunk/reference/iconv/functions/iconv-strrpos.xml 2011-08-19 10:03:54 UTC (rev 315172)
@@ -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,