svn: /phpdoc/zh/trunk/reference/ exif/book.xml exif/constants.xml exif/setup.xml pthreads/threaded/getterminationinfo.xml

From: Date: Thu, 10 Aug 2017 11:57:35 +0000
Subject: svn: /phpdoc/zh/trunk/reference/ exif/book.xml exif/constants.xml exif/setup.xml pthreads/threaded/getterminationinfo.xml
Groups: php.doc.zh 
Request: Send a blank email to doc-zh+get-4996@lists.php.net to get a copy of this message
yuanyuqiang Thu, 10 Aug 2017 11:57:35 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=342832 Log: update to new en version Changed paths: U phpdoc/zh/trunk/reference/exif/book.xml U phpdoc/zh/trunk/reference/exif/constants.xml U phpdoc/zh/trunk/reference/exif/setup.xml U phpdoc/zh/trunk/reference/pthreads/threaded/getterminationinfo.xml Modified: phpdoc/zh/trunk/reference/exif/book.xml =================================================================== --- phpdoc/zh/trunk/reference/exif/book.xml 2017-08-10 11:04:03 UTC (rev 342831) +++ phpdoc/zh/trunk/reference/exif/book.xml 2017-08-10 11:57:35 UTC (rev 342832) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 330340 Maintainer: yuanyuqiang Status: ready --> +<!-- EN-Revision: 342647 Maintainer: yuanyuqiang Status: ready --> <!-- Reviewed: no --> @@ -14,9 +14,9 @@ &reftitle.intro; <para> 通过使用 exif 扩展,你可以操作图像元数据。 - 例如:你可以使用 exif 相关的函数从文件头读取 - 数码相机拍摄的 <acronym>JPEG</acronym> 和 <acronym>TIFF</acronym> - 格式的图像文件元数据。 + 例如:你可以使用 exif 相关的函数从数码相机拍摄的图片文件中读取元数据。 + 通常 <acronym>JPEG</acronym> 和 <acronym>TIFF</acronym> + 格式的图像文件都包含元数据。 </para> </preface> <!-- }}} --> Modified: phpdoc/zh/trunk/reference/exif/constants.xml =================================================================== --- phpdoc/zh/trunk/reference/exif/constants.xml 2017-08-10 11:04:03 UTC (rev 342831) +++ phpdoc/zh/trunk/reference/exif/constants.xml 2017-08-10 11:57:35 UTC (rev 342832) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 323624 Maintainer: yuanyuqiang Status: ready --> +<!-- EN-Revision: 342647 Maintainer: yuanyuqiang Status: ready --> <!-- Reviewed: no --> <appendix xml:id="exif.constants" xmlns="http://docbook.org/ns/docbook"> @@ -15,7 +15,9 @@ </term> <listitem> <simpara> - + 如果启用了 <link linkend="ref.mbstring">mbstring</link>, + 这个常量的值为 <literal>1</literal>, + 否则为 <literal>0</literal>。 </simpara> </listitem> </varlistentry> Modified: phpdoc/zh/trunk/reference/exif/setup.xml =================================================================== --- phpdoc/zh/trunk/reference/exif/setup.xml 2017-08-10 11:04:03 UTC (rev 342831) +++ phpdoc/zh/trunk/reference/exif/setup.xml 2017-08-10 11:57:35 UTC (rev 342832) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 288721 Maintainer: yuanyuqiang Status: ready --> +<!-- EN-Revision: 342647 Maintainer: yuanyuqiang Status: ready --> <!-- Reviewed: no --> <chapter xml:id="exif.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -11,9 +11,16 @@ &reftitle.required; <para> 必须使用 <literal>--enable-exif</literal> 选项编译 PHP。 - exif 模块不需要其他额外的库。 - Windows 用户必须启用 + 如果要提供对 EXIF 标签中元数据的多字节文字支持,需要通过使用 + <literal>--enable-mbstring</literal> 选项编译 PHP 来启用 + <link linkend="ref.mbstring">mbstring</link> 扩展。 + exif 不需要其他额外的 PHP 库就可以直接使用。 + </para> + <para> + Windows 平台:必须启用 <link linkend="ref.mbstring"> mbstring</link> 扩展。 + 并且,在 <filename>php.ini</filename> 文件中, + <link linkend="ref.mbstring">mbstring</link> 必须先于 EXIF 加载。 </para> </section> <!-- }}} --> Modified: phpdoc/zh/trunk/reference/pthreads/threaded/getterminationinfo.xml =================================================================== --- phpdoc/zh/trunk/reference/pthreads/threaded/getterminationinfo.xml 2017-08-10 11:04:03 UTC (rev 342831) +++ phpdoc/zh/trunk/reference/pthreads/threaded/getterminationinfo.xml 2017-08-10 11:57:35 UTC (rev 342832) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 341639 Maintainer: yuanyuqiang Status: ready --> +<!-- EN-Revision: 342789 Maintainer: yuanyuqiang Status: ready --> <!-- Reviewed: no --> <refentry xml:id="threaded.getterminationinfo" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -13,6 +13,8 @@ <warning> <para> pthreads v3 中已移除此方法。 + 另外,<methodname>Threaded::run</methodname> 中的代码, + 应该使用 try...catch 来进行异常检测(因为在 PHP 7 中大部分 error 都改为抛出异常的方式了)。 </para> </warning> </refsynopsisdiv>

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