svn: /phpdoc/en/trunk/reference/ array/functions/array-search.xml array/functions/array-slice.xml mbstring/functions/mb-strimwidth.xml
| From: | Christoph Michael Becker | Date: | Fri, 22 Jul 2016 16:33:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/ array/functions/array-search.xml array/functions/array-slice.xml mbstring/functions/mb-strimwidth.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14351@lists.php.net to get a copy of this message | ||
cmb Fri, 22 Jul 2016 16:33:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339703
Log:
Minor improvements by anon users
Changed paths:
U phpdoc/en/trunk/reference/array/functions/array-search.xml
U phpdoc/en/trunk/reference/array/functions/array-slice.xml
U phpdoc/en/trunk/reference/mbstring/functions/mb-strimwidth.xml
Modified: phpdoc/en/trunk/reference/array/functions/array-search.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-search.xml 2016-07-22 16:26:35 UTC (rev 339702)
+++ phpdoc/en/trunk/reference/array/functions/array-search.xml 2016-07-22 16:33:15 UTC (rev 339703)
@@ -3,7 +3,7 @@
<refentry xml:id="function.array-search" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>array_search</refname>
- <refpurpose>Searches the array for a given value and returns the corresponding key if
successful</refpurpose>
+ <refpurpose>Searches the array for a given value and returns the first corresponding key if
successful</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
Modified: phpdoc/en/trunk/reference/array/functions/array-slice.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-slice.xml 2016-07-22 16:26:35 UTC (rev 339702)
+++ phpdoc/en/trunk/reference/array/functions/array-slice.xml 2016-07-22 16:33:15 UTC (rev 339703)
@@ -76,7 +76,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the slice.
+ Returns the slice. If the offset is larger than the size of the array then returns an empty
array.
</para>
</refsect1>
<refsect1 role="changelog">
Modified: phpdoc/en/trunk/reference/mbstring/functions/mb-strimwidth.xml
===================================================================
--- phpdoc/en/trunk/reference/mbstring/functions/mb-strimwidth.xml 2016-07-22 16:26:35 UTC (rev
339702)
+++ phpdoc/en/trunk/reference/mbstring/functions/mb-strimwidth.xml 2016-07-22 16:33:15 UTC (rev
339703)
@@ -73,7 +73,7 @@
&reftitle.returnvalues;
<para>
The truncated <type>string</type>. If <parameter>trimmarker</parameter>
is set,
- <parameter>trimmarker</parameter> is appended to the return value.
+ <parameter>trimmarker</parameter> replaces the last chars to match the
<parameter>width</parameter>.
</para>
</refsect1>
@@ -86,7 +86,7 @@
<![CDATA[
<?php
echo mb_strimwidth("Hello World", 0, 10, "...");
-// outputs Hello W...
+// output: "Hello W..."
?>
]]>
</programlisting>