mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
mbstring: Fix prototypes
mb_convert_case(): 2nd parameter is not optional so default value is meaningless. mb_decode_numericentity(): 3rd parameter is optional and its default value is internal encoding. mb_encode_numericentity(): 3rd parameter is optional and its default value is internal encoding. added 4th parameter as of PHP 5.4.0. mb_regex_set_options(): no default value of "options" git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329377 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
69979328b7
commit
4d2ed4ef0b
4 changed files with 36 additions and 4 deletions
|
@ -11,7 +11,7 @@
|
|||
<methodsynopsis>
|
||||
<type>string</type><methodname>mb_convert_case</methodname>
|
||||
<methodparam><type>string</type><parameter>str</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>mode</parameter><initializer>MB_CASE_UPPER</initializer></methodparam>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<type>string</type><methodname>mb_decode_numericentity</methodname>
|
||||
<methodparam><type>string</type><parameter>str</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>convmap</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Convert numeric string reference of <type>string</type>
|
||||
|
|
|
@ -12,7 +12,8 @@
|
|||
<type>string</type><methodname>mb_encode_numericentity</methodname>
|
||||
<methodparam><type>string</type><parameter>str</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>convmap</parameter></methodparam>
|
||||
<methodparam><type>string</type><parameter>encoding</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter><initializer>mb_internal_encoding()</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>is_hex</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Converts
|
||||
|
@ -48,6 +49,13 @@
|
|||
&mbstring.encoding.parameter;
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>is_hex</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
@ -59,6 +67,30 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<para>
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>5.4.0</entry>
|
||||
<entry>
|
||||
Added <parameter>is_hex</parameter> parameter.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>mb_regex_set_options</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>options</parameter><initializer>"msr"</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>string</type><parameter>options</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
Sets the default options described by <parameter>options</parameter>
|
||||
|
|
Loading…
Reference in a new issue