svn: /phpdoc/en/trunk/reference/strings/functions/ strrpos.xml

From: Date: Wed, 13 Oct 2010 10:34:16 +0000
Subject: svn: /phpdoc/en/trunk/reference/strings/functions/ strrpos.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-7216@lists.php.net to get a copy of this message
aharvey Wed, 13 Oct 2010 10:34:16 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=304370 Log: Fix doc bug #53051 (Just a TYPO!). Bug: http://bugs.php.net/53051 (Assigned) Just a TYPO! Changed paths: U phpdoc/en/trunk/reference/strings/functions/strrpos.xml Modified: phpdoc/en/trunk/reference/strings/functions/strrpos.xml =================================================================== --- phpdoc/en/trunk/reference/strings/functions/strrpos.xml 2010-10-13 09:53:12 UTC (rev 304369) +++ phpdoc/en/trunk/reference/strings/functions/strrpos.xml 2010-10-13 10:34:16 UTC (rev 304370) @@ -3,7 +3,7 @@ <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.strrpos"> <refnamediv> <refname>strrpos</refname> - <refpurpose>Find position of last occurrence of a char in a string</refpurpose> + <refpurpose>Find the position of the last occurrence of a substring in a string</refpurpose> </refnamediv> <refsect1 role="description"> @@ -16,11 +16,9 @@ </methodsynopsis> <para> Returns the numeric position of the last occurrence of - <parameter>needle</parameter> in the - <parameter>haystack</parameter> string. Note that the needle in - this case can only be a single character in PHP 4. If a string is passed - as the needle, then only the first character of that string will - be used. + <parameter>needle</parameter> in the <parameter>haystack</parameter> + string. If a string is passed as the needle, then only the first character + of that string will be used. </para> </refsect1> @@ -41,7 +39,8 @@ <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. + 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. </para> </listitem> </varlistentry>

« previous php.doc.cvs (#7216) next »