svn: /phpdoc/en/trunk/appendices/ ini.core.xml ini.list.xml
| From: | Yasuo Ohgaki | Date: | Wed, 09 Jul 2014 06:59:19 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/ ini.core.xml ini.list.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-12594@lists.php.net to get a copy of this message | ||
yohgaki Wed, 09 Jul 2014 06:59:19 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=334211
Log:
Fixed bug #61373
Bug: https://bugs.php.net/61373 (Open) Multibyte handling
missing in doc or has changed
Changed paths:
U phpdoc/en/trunk/appendices/ini.core.xml
U phpdoc/en/trunk/appendices/ini.list.xml
Modified: phpdoc/en/trunk/appendices/ini.core.xml
===================================================================
--- phpdoc/en/trunk/appendices/ini.core.xml 2014-07-09 05:54:22 UTC (rev 334210)
+++ phpdoc/en/trunk/appendices/ini.core.xml 2014-07-09 06:59:19 UTC (rev 334211)
@@ -132,6 +132,12 @@
<entry>Available since PHP 5.4.0</entry>
</row>
<row>
+ <entry><link
linkend="ini.zend.detect-unicode">zend.detect-unicode</link></entry>
+ <entry>NULL</entry>
+ <entry>PHP_INI_ALL</entry>
+ <entry>Available since PHP 5.4.0</entry>
+ </row>
+ <row>
<entry><link
linkend="ini.zend.signal-check">zend.signal_check</link></entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
@@ -144,10 +150,10 @@
<entry>Available since PHP 5.0.0. Removed in PHP 5.3.0</entry>
</row>
<row>
- <entry><link
linkend="ini.detect-unicode">detect_unicode</link></entry>
+ <entry>detect_unicode</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
- <entry>Available since PHP 5.1.0. &removed.php.future;</entry>
+ <entry>Available since PHP 5.1.0. Renamed to <link
linkend="ini.zend.detect-unicode">zend.detect-unicode</link> from PHP
5.4.0.</entry>
</row>
</tbody>
</tgroup>
@@ -411,7 +417,10 @@
</term>
<listitem>
<para>
- Enables parsing of source files in multibyte encodings.
+ Enables parsing of source files in multibyte encodings. Enabling zend.multibyte
+ is required to use character encodings like SJIS, BIG5, etc that contain special
+ characters in multibyte string data. ISO-8859-1 compatible encodings like UTF-8,
+ EUC, etc do not require this option.
</para>
</listitem>
</varlistentry>
@@ -425,39 +434,40 @@
<para>
This value will be used unless a
<link
linkend="control-structures.declare.encoding">declare(encoding=...)</link>
- directive appears at the top of the script.
+ directive appears at the top of the script. When ISO-8859-1 imcompatible encoding
+ is used, both zend.multibyte and zend.script_encoding must be used.
</para>
</listitem>
</varlistentry>
-
- <varlistentry xml:id="ini.zend.signal-check">
+
+ <varlistentry xml:id="ini.zend.detect-unicode">
<term>
- <parameter>zend.signal_check</parameter>
+ <parameter>zend.detect_unicode</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
- To check for replaced signal handlers on shutdown.
+ Check for BOM (Byte Order Mark) and see if the file contains valid
+ multibyte characters.
+ This detection is performed before processing of
+ <function>__halt_compiler</function>.
+ Available only in Zend Multibyte mode.
</para>
</listitem>
</varlistentry>
- <varlistentry xml:id="ini.detect-unicode">
+ <varlistentry xml:id="ini.zend.signal-check">
<term>
- <parameter>detect_unicode</parameter>
+ <parameter>zend.signal_check</parameter>
<type>boolean</type>
</term>
<listitem>
<para>
- Check for BOM (Byte Order Mark) and see if the file contains valid
- multibyte characters.
- This detection is performed before processing of
- <function>__halt_compiler</function>.
- Available only in Zend Multibyte mode.
+ To check for replaced signal handlers on shutdown.
</para>
</listitem>
</varlistentry>
-
+
<varlistentry xml:id="ini.exit-on-timeout">
<term>
<parameter>exit_on_timeout</parameter>
Modified: phpdoc/en/trunk/appendices/ini.list.xml
===================================================================
--- phpdoc/en/trunk/appendices/ini.list.xml 2014-07-09 05:54:22 UTC (rev 334210)
+++ phpdoc/en/trunk/appendices/ini.list.xml 2014-07-09 06:59:19 UTC (rev 334211)
@@ -635,10 +635,10 @@
<entry>Removed in PHP 5.4.0.</entry>
</row>
<row>
- <entry><link
linkend="ini.detect-unicode">detect_unicode</link></entry>
+ <entry>detect_unicode</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
- <entry>Available since PHP 5.1.0. &removed.php.future;</entry>
+ <entry>Available since PHP 5.1.0. Renamed to <link
linkend="ini.zend.detect-unicode">zend.detect_unicode</link> since PHP
5.4.0.</entry>
</row>
<row>
<entry><link
linkend="ini.disable-classes">disable_classes</link></entry>
@@ -3390,7 +3390,7 @@
<entry>Available since PHP 4.3.0. Removed in PHP 5.0.0.</entry>
</row>
<row>
- <entry>zend.detect_unicode</entry>
+ <entry><link
linkend="ini.zend.detect-unicode">zend.detect_unicode</link></entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.4.0.</entry>