svn: /phpdoc/zh/trunk/reference/info/functions/ extension-loaded.xml get-included-files.xml

From: Date: Thu, 19 Jan 2017 17:54:42 +0000
Subject: svn: /phpdoc/zh/trunk/reference/info/functions/ extension-loaded.xml get-included-files.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-4778@lists.php.net to get a copy of this message
daijie Thu, 19 Jan 2017 17:54:42 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=341715 Log: Sync with EN Changed paths: U phpdoc/zh/trunk/reference/info/functions/extension-loaded.xml U phpdoc/zh/trunk/reference/info/functions/get-included-files.xml Modified: phpdoc/zh/trunk/reference/info/functions/extension-loaded.xml =================================================================== --- phpdoc/zh/trunk/reference/info/functions/extension-loaded.xml 2017-01-19 17:52:20 UTC (rev 341714) +++ phpdoc/zh/trunk/reference/info/functions/extension-loaded.xml 2017-01-19 17:54:42 UTC (rev 341715) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 320300 Maintainer: daijie Status: ready --> +<!-- EN-Revision: 334621 Maintainer: daijie Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.extension-loaded" xmlns="http://docbook.org/ns/docbook"> @@ -28,7 +28,7 @@ <term><parameter>name</parameter></term> <listitem> <para> - 扩展名称。 + 扩展名称,大小写不敏感。 </para> <para> 你可以用 <function>phpinfo</function> 来查看一系列扩展名称,而在 <literal>CGI</literal> 或 <literal>CLI</literal> 的 PHP 版本里你可以使用 <option>-m</option> 参数来列出所有有效的扩展: @@ -85,32 +85,6 @@ </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.0.0</entry> - <entry> - <function>extension_loaded</function> 使用内置扩展名称来测试一个扩展是否有效。 - 大多数内置扩展名称是小写的,但也有扩展使用大写字符。 - 在 PHP 5 之前,此函数以大小写敏感的方式对比名称。 - </entry> - </row> - </tbody> - </tgroup> - </informaltable> - </para> - </refsect1> - <refsect1 role="seealso"> &reftitle.seealso; <para> Modified: phpdoc/zh/trunk/reference/info/functions/get-included-files.xml =================================================================== --- phpdoc/zh/trunk/reference/info/functions/get-included-files.xml 2017-01-19 17:52:20 UTC (rev 341714) +++ phpdoc/zh/trunk/reference/info/functions/get-included-files.xml 2017-01-19 17:54:42 UTC (rev 341715) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 325214 Maintainer: daijie Status: ready --> +<!-- EN-Revision: 338886 Maintainer: daijie Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.get-included-files" xmlns="http://docbook.org/ns/docbook"> @@ -36,32 +36,6 @@ </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>4.0.1</entry> - <entry> - 在 PHP 4.0.1 和之前的版本,本函数会假设所有被 required 的文件以 <literal>.php</literal> 结尾; - 其他扩展名结尾的文件不会被返回。<function>get_included_files</function> 返回的 array 仅仅列出被 <function>include</function> 和 - <function>include_once</function> 所包含的文件。 - </entry> - </row> - </tbody> - </tgroup> - </informaltable> - </para> - </refsect1> - <refsect1 role="examples"> &reftitle.examples; <para> @@ -89,11 +63,11 @@ &example.outputs; <screen> <![CDATA[ -abc.php -test1.php -test2.php -test3.php -test4.php +/path/to/abc.php +/path/to/test1.php +/path/to/test2.php +/path/to/test3.php +/path/to/test4.php ]]> </screen> </example>

« previous php.doc.zh (#4778) next »