[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: Re: [DOC-CVS] svn: /phpdoc/en/trunk/reference/strings/functions/ trim.xml
From: Peter Cowburn <petercowburn () gmail ! com>
Date: 2014-01-31 15:06:43
Message-ID: CAPg3XxK9y7cirFJeq8d4yOvYAZAnk6_YM_bH5Pk1nMDXXZt8Yg () mail ! gmail ! com
[Download RAW message or body]
On 31 January 2014 14:59, Chris Wright <daverandom@php.net> wrote:
> daverandom Fri, 31 Jan 2014 14:59:47 +0000
>
> Revision: http://svn.php.net/viewvc?view=revision&revision=332762
>
> Log:
> Update name of second argument for trim() to match arginfo for reflection
> consistency
>
Way to break consistency with the other *trim() functions. :)
>
> Changed paths:
> U phpdoc/en/trunk/reference/strings/functions/trim.xml
>
> Modified: phpdoc/en/trunk/reference/strings/functions/trim.xml
> ===================================================================
> --- phpdoc/en/trunk/reference/strings/functions/trim.xml 2014-01-30
> 17:32:50 UTC (rev 332761)
> +++ phpdoc/en/trunk/reference/strings/functions/trim.xml 2014-01-31
> 14:59:47 UTC (rev 332762)
> @@ -12,7 +12,7 @@
> <methodsynopsis>
> <type>string</type><methodname>trim</methodname>
>
> <methodparam><type>string</type><parameter>str</parameter></methodparam>
> - <methodparam
> choice="opt"><type>string</type><parameter>charlist</parameter><initializer>"
> \t\n\r\0\x0B"</initializer></methodparam>
> + <methodparam
> choice="opt"><type>string</type><parameter>character_mask</parameter><initializer>"
> \t\n\r\0\x0B"</initializer></methodparam>
> </methodsynopsis>
> <para>
> This function returns a string with whitespace stripped from the
> @@ -74,11 +74,11 @@
> </listitem>
> </varlistentry>
> <varlistentry>
> - <term><parameter>charlist</parameter></term>
> + <term><parameter>character_mask</parameter></term>
> <listitem>
> <para>
> Optionally, the stripped characters can also be specified using
> - the <parameter>charlist</parameter> parameter.
> + the <parameter>character_mask</parameter> parameter.
> Simply list all characters that you want to be stripped. With
> <literal>..</literal> you can specify a range of characters.
> </para>
> @@ -110,7 +110,7 @@
> <row>
> <entry>4.1.0</entry>
> <entry>
> - The optional <parameter>charlist</parameter> parameter was added.
> + The optional <parameter>character_mask</parameter> parameter was
> added.
> </entry>
> </row>
> </tbody>
>
>
> --
> PHP Documentation Commits Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic