1
0
mirror of https://github.com/php/doc-zh.git synced 2026-03-24 07:02:15 +01:00
Files
2026-01-22 10:32:08 +08:00

46 lines
1.4 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 87d6bb1bbd5f118f5b0cf0160438f06c0f91ea45 Maintainer: yuanyuqiang Status: ready -->
<!-- Reviewed: no -->
<book xmlns="http://docbook.org/ns/docbook" xml:id="book.opcache">
<?phpdoc extension-membership="core" ?>
<title>OPcache</title>
<preface xml:id="intro.opcache">
&reftitle.intro;
<simpara>
OPcache 通过将 PHP 脚本预编译的字节码存储到共享内存中来提升 PHP 的性能,存储预编译字节码的好处就是省去了每次加载和解析 PHP 脚本的开销。
</simpara>
<simpara>
PHP 5.5.0 及后续版本中已经绑定了 OPcache 扩展。对于 PHP 5.25.3 和 5.4 版本可以使用
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="&url.pecl.package;ZendOpcache">PECL</link>
扩展中的 OPcache 库。
</simpara>
</preface>
&reference.opcache.setup;
&reference.opcache.preload;
&reference.opcache.reference;
</book>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->