Minor improvements by anon users

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339703 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2016-07-22 16:33:15 +00:00
parent 913a662cc3
commit 68b263e63d
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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">

View file

@ -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>