mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-29 12:22:19 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@260475 c90b9560-bf6c-de11-be94-00142212c4b1
75 lines
2.0 KiB
XML
75 lines
2.0 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.12 $ -->
|
|
<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready -->
|
|
<!-- Reviewed: yes -->
|
|
|
|
<refentry xml:id="function.mcrypt-module-self-test" xmlns="http://docbook.org/ns/docbook">
|
|
<refnamediv>
|
|
<refname>mcrypt_module_self_test</refname>
|
|
<refpurpose>Teste un mode</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>bool</type><methodname>mcrypt_module_self_test</methodname>
|
|
<methodparam><type>string</type><parameter>algorithm</parameter></methodparam>
|
|
<methodparam choice="opt"><type>string</type><parameter>lib_dir</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>mcrypt_module_self_test</function> effectue un
|
|
test sur l'algorithme spécifié. Le paramètre optionnel
|
|
<parameter>lib_dir</parameter> contient le chemin jusqu'au module
|
|
de l'algorithme sur le système.
|
|
</para>
|
|
<para>
|
|
<function>mcrypt_module_self_test</function> retourne &true; si le test
|
|
fonctionne, et &false; sinon.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="examples">
|
|
&reftitle.examples;
|
|
<para>
|
|
<example>
|
|
<title>Exemple avec <function>mcrypt_module_self_test</function></title>
|
|
<programlisting role="php">
|
|
<![CDATA[
|
|
<?php
|
|
var_dump(mcrypt_module_self_test(MCRYPT_RIJNDAEL_128)) . "\n";
|
|
var_dump(mcrypt_module_self_test(MCRYPT_BOGUS_CYPHER));
|
|
?>
|
|
]]>
|
|
</programlisting>
|
|
&example.outputs;
|
|
<screen>
|
|
<![CDATA[
|
|
bool(true)
|
|
bool(false)
|
|
]]>
|
|
</screen>
|
|
</example>
|
|
</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:"../../../../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
|
|
--> |