cvs: phpdoc-fr /reference/hash/functions hash-copy.xml
| From: | Yannick Torres | Date: | Sat, 07 Jun 2008 13:06:19 +0000 |
| Subject: | cvs: phpdoc-fr /reference/hash/functions hash-copy.xml | ||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-6028@lists.php.net to get a copy of this message | ||
yannick Sat Jun 7 13:06:19 2008 UTC
Added files:
/phpdoc-fr/reference/hash/functions hash-copy.xml
Log:
new translation
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/hash/functions/hash-copy.xml?view=markup&rev=1.1
Index: phpdoc-fr/reference/hash/functions/hash-copy.xml
+++ phpdoc-fr/reference/hash/functions/hash-copy.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.hash-copy" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>hash_copy</refname>
<refpurpose>Copie un contexte de hashage</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<type>resource</type><methodname>hash_copy</methodname>
<methodparam><type>resource</type><parameter>context</parameter></methodparam>
</methodsynopsis>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>context</parameter></term>
<listitem>
<para>
Contexte de hashage, retourné par la fonction
<function>hash_init</function>.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Retourne une copie du contexte de hashage.
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title>Exemple avec <function>hash_copy</function></title>
<programlisting role="php">
<![CDATA[
<?php
$context = hash_init("md5");
hash_update($context, "data");
/* copie le contexte afin de pouvoir continuer à l'utiliser */
$copy_context = hash_copy($context);
echo hash_final($context), "\n";
hash_update($copy_context, "data");
echo hash_final($copy_context), "\n";
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
8d777f385d3dfec8815d20f7496026dc
511ae0b1c13f95e5f08f1a0dd3da3d93
]]>
</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
-->