mirror of
https://github.com/php/doc-ru.git
synced 2026-03-26 00:32:15 +01:00
68 lines
2.2 KiB
XML
68 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 8845dc32b53c8151edd4c0e691c2bc99f9ec46d0 Maintainer: rjhdby Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<refentry xml:id="function.opcache-reset" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
<refnamediv>
|
|
<refname>opcache_reset</refname>
|
|
<refpurpose>Сбрасывает содержимое кеша опкодов</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>opcache_reset</methodname>
|
|
<void />
|
|
</methodsynopsis>
|
|
<para>
|
|
Функция сбрасывает весь кеш. После вызова
|
|
<function>opcache_reset</function> все скрипты будут заново загружены,
|
|
скомпилированы и помещены в кеш после их следующего вызова.
|
|
Функция сбрасывает только кеш в памяти, не затрагивая файловый кеш.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
&no.function.parameters;
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Возвращает &true;, если кеш опкодов был сброшен
|
|
или &false;, если кеш отключён, ожидается перезапуск или перезапуск выполняется
|
|
(смотрите <function>opcache_get_status</function>).
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>opcache_invalidate</function></member>
|
|
<member><function>opcache_get_status</function></member>
|
|
</simplelist>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|
|
<!-- 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
|
|
-->
|