php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #63565
Patch path-for-mb-stristr-doc-bug.patch revision 2012-11-20 09:22 UTC by ice dot shiny at gmail dot com

Patch path-for-mb-stristr-doc-bug.patch for Documentation problem Bug #63565

Patch version 2012-11-20 09:22 UTC

Return to Bug #63565 | Download this patch
Patch Revisions:

Developer: ice.shiny@gmail.com

--- en/reference/mbstring/functions/mb-stristr.xml
+++ en/reference/mbstring/functions/mb-stristr.xml
@@ -52,9 +52,9 @@
        Determines which portion of <parameter>haystack</parameter>
        this function returns.
        If set to &true;, it returns all of  <parameter>haystack</parameter>
-       from the beginning to the first occurrence of <parameter>needle</parameter> (including needle).
+       from the beginning to the first occurrence of <parameter>needle</parameter> (excluding needle).
        If set to &false;, it returns all of <parameter>haystack</parameter>
-       from the first occurrence of <parameter>needle</parameter> to the end (excluding needle).
+       from the first occurrence of <parameter>needle</parameter> to the end (including needle).
       </para>
      </listitem>
     </varlistentry>
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 20:00:02 2026 UTC