svn: /phpdoc/zh/trunk/reference/info/functions/ ini-get.xml putenv.xml restore-include-path.xml
| From: | Dai Jie | Date: | Thu, 19 Jan 2017 17:58:32 +0000 |
| Subject: | svn: /phpdoc/zh/trunk/reference/info/functions/ ini-get.xml putenv.xml restore-include-path.xml | ||
| Groups: | php.doc.zh | ||
| Request: | Send a blank email to doc-zh+get-4779@lists.php.net to get a copy of this message | ||
daijie Thu, 19 Jan 2017 17:58:32 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=341716
Log:
Sync with EN
Changed paths:
U phpdoc/zh/trunk/reference/info/functions/ini-get.xml
U phpdoc/zh/trunk/reference/info/functions/putenv.xml
U phpdoc/zh/trunk/reference/info/functions/restore-include-path.xml
Modified: phpdoc/zh/trunk/reference/info/functions/ini-get.xml
===================================================================
--- phpdoc/zh/trunk/reference/info/functions/ini-get.xml 2017-01-19 17:54:42 UTC (rev 341715)
+++ phpdoc/zh/trunk/reference/info/functions/ini-get.xml 2017-01-19 17:58:32 UTC (rev 341716)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 331211 Maintainer: daijie Status: ready -->
+<!-- EN-Revision: 337776 Maintainer: daijie Status: ready -->
<refentry xml:id="function.ini-get" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ini_get</refname>
@@ -116,6 +116,11 @@
以上例子显示了转换简写表示法为字节的一种方式,和 PHP
源码所做的比较像。
</para>
</note>
+ <note>
+ <para>
+ <function>ini_get</function> 无法读取 "array" 的 ini 选项,例如
pdo.dsn.*,在这个例子中会返回 &false; 。
+ </para>
+ </note>
</refsect1>
<refsect1 role="changelog">
Modified: phpdoc/zh/trunk/reference/info/functions/putenv.xml
===================================================================
--- phpdoc/zh/trunk/reference/info/functions/putenv.xml 2017-01-19 17:54:42 UTC (rev 341715)
+++ phpdoc/zh/trunk/reference/info/functions/putenv.xml 2017-01-19 17:58:32 UTC (rev 341716)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 305999 Maintainer: daijie Status: ready -->
+<!-- EN-Revision: 337699 Maintainer: daijie Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.putenv" xmlns="http://docbook.org/ns/docbook">
@@ -87,6 +87,7 @@
<para>
<simplelist>
<member><function>getenv</function></member>
+ <member><function>apache_setenv</function></member>
</simplelist>
</para>
</refsect1>
Modified: phpdoc/zh/trunk/reference/info/functions/restore-include-path.xml
===================================================================
--- phpdoc/zh/trunk/reference/info/functions/restore-include-path.xml 2017-01-19 17:54:42 UTC (rev
341715)
+++ phpdoc/zh/trunk/reference/info/functions/restore-include-path.xml 2017-01-19 17:58:32 UTC (rev
341716)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 325214 Maintainer: daijie Status: ready -->
+<!-- EN-Revision: 341282 Maintainer: daijie Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.restore-include-path" xmlns="http://docbook.org/ns/docbook">
@@ -42,10 +42,9 @@
echo get_include_path(); // /inc
-// 自 PHP 4.3.0 起可用
restore_include_path();
-// 所有版本均可用
+// 或使用 ini_restore
ini_restore('include_path');
echo get_include_path(); // .:/usr/local/lib/php