mirror of
https://github.com/php/doc-tr.git
synced 2026-03-23 23:02:09 +01:00
121 lines
2.8 KiB
XML
121 lines
2.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- EN-Revision: 584a9fb976cccc93109776a904ec1c5ddb2d580f Maintainer: nilgun Status: ready -->
|
||
<refentry xml:id="function.hash-copy" xmlns="http://docbook.org/ns/docbook">
|
||
<refnamediv>
|
||
<refname>hash_copy</refname>
|
||
<refpurpose>Aşlama bağlamını kopyalar</refpurpose>
|
||
</refnamediv>
|
||
<refsect1 role="description">
|
||
&reftitle.description;
|
||
<methodsynopsis>
|
||
<type>HashContext</type><methodname>hash_copy</methodname>
|
||
<methodparam><type>HashContext</type><parameter>bağlam</parameter></methodparam>
|
||
</methodsynopsis>
|
||
<para>
|
||
Aşlama bağlamını kopyalar.
|
||
</para>
|
||
</refsect1>
|
||
|
||
<refsect1 role="parameters">
|
||
&reftitle.parameters;
|
||
<para>
|
||
<variablelist>
|
||
<varlistentry>
|
||
<term><parameter>bağlam</parameter></term>
|
||
<listitem>
|
||
<para>
|
||
<function>hash_init</function> tarafından döndürülmüş aşlama bağlamı.
|
||
</para>
|
||
</listitem>
|
||
</varlistentry>
|
||
</variablelist>
|
||
</para>
|
||
</refsect1>
|
||
|
||
<refsect1 role="returnvalues">
|
||
&reftitle.returnvalues;
|
||
<para>
|
||
Aşlama Bağlamının bir kopyasını döndürür.
|
||
</para>
|
||
</refsect1>
|
||
|
||
<refsect1 role="changelog">
|
||
&reftitle.changelog;
|
||
<para>
|
||
<informaltable>
|
||
<tgroup cols="2">
|
||
<thead>
|
||
<row>
|
||
<entry>&Version;</entry>
|
||
<entry>&Description;</entry>
|
||
</row>
|
||
</thead>
|
||
<tbody>
|
||
<row>
|
||
<entry>7.2.0</entry>
|
||
<entry>
|
||
<type>resource</type> türünde bir değer yerine
|
||
<classname>HashContext</classname> kabul ediliyor ve döndürülüyor.
|
||
</entry>
|
||
</row>
|
||
</tbody>
|
||
</tgroup>
|
||
</informaltable>
|
||
</para>
|
||
</refsect1>
|
||
|
||
<refsect1 role="examples">
|
||
&reftitle.examples;
|
||
<para>
|
||
<example>
|
||
<title>- <function>hash_copy</function> örneği</title>
|
||
<programlisting role="php">
|
||
<![CDATA[
|
||
<?php
|
||
$context = hash_init("sha256");
|
||
hash_update($context, "Pijamalı hasta ");
|
||
|
||
/* kulanmaya devem edebilmek için bağlamı kopyalayalım */
|
||
$copy_context = hash_copy($context);
|
||
|
||
echo hash_final($context), "\n";
|
||
|
||
hash_update($copy_context, "yağız şoföre çabucak güvendi.");
|
||
echo hash_final($copy_context), "\n";
|
||
?>
|
||
]]>
|
||
</programlisting>
|
||
&example.outputs;
|
||
<screen>
|
||
<![CDATA[
|
||
36ae7cdae49d9a73ac20adb1325eb6855cb11ba7f502e9c549d0aeebd286abab
|
||
04eb8190a875ba9b6d05edbb0873e47ad41c48c2fac96e404040568868f3f20d
|
||
]]>
|
||
</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:"~/.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
|
||
-->
|