1
0
mirror of https://github.com/php/doc-fr.git synced 2026-04-24 15:28:25 +02:00
Files
2026-02-28 23:16:05 +01:00

67 lines
2.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 87d6bb1bbd5f118f5b0cf0160438f06c0f91ea45 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="function.opcache-reset">
<refnamediv>
<refname>opcache_reset</refname>
<refpurpose>Réinitialise le contenu du cache opcode</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>bool</type><methodname>opcache_reset</methodname>
<void/>
</methodsynopsis>
<simpara>
Cette fonction réinitialise le cache opcode dans sa globalité.
Après l'appel à la fonction <function>opcache_reset</function>,
tous les scripts seront rechargés et réanalysés lors de leurs prochains
appels. Cette fonction ne réinitialise que le cache en mémoire,
pas le cache des fichiers.
</simpara>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
Retourne &true; si le cache opcode a été réinitialisé, ou &false;
si le cache opcode est désactivé ou si le redémarrage est en attente ou en cours (voir <function>opcache_get_status</function>).
</simpara>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<simplelist>
<member><function>opcache_invalidate</function></member>
<member><function>opcache_get_status</function></member>
</simplelist>
</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
-->