cvs: phpdoc-da /reference/strings/functions crc32.xml

[email protected] ("Tom Sommer")
Newsgroups php.doc.da
Message-ID <cvstomsommer1088789843@cvsserver>
tomsommer		Fri Jul  2 13:37:23 2004 EDT

  Added files:                 
    /phpdoc-da/reference/strings/functions	crc32.xml 
  Log:
  Initial translation
  
  

http://cvs.php.net/co.php/phpdoc-da/reference/strings/functions/crc32.xml?r=1.1&p=1
Index: phpdoc-da/reference/strings/functions/crc32.xml
+++ phpdoc-da/reference/strings/functions/crc32.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.6 Maintainer: tomsommer: Status: ready -->
  <refentry id="function.crc32">
   <refnamediv>
    <refname>crc32</refname>
    <refpurpose>Beregner den flerleddede crc32 størrelse af en streng</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Beskrivelse</title>
     <methodsynopsis>
      <type>int</type><methodname>crc32</methodname>
      <methodparam><type>string</type><parameter>str</parameter></methodparam>
     </methodsynopsis>
    <para>
     Generere den flerleddede cykliske redundante checksum af 32-bit
     længder af <parameter>str</parameter>. Dette bruges normalt
     til at validere integriteten af overført data.
    </para>
    <para>
     Fordi PHP's integer type er signed, og mange crc32 checksums 
     resultere i negative værdier, skal du bruge "%u" formatet fra
     <function>sprintf</function> eller <function>printf</function> til at få
     strengrepræsentationen af den unsigned crc32 checksum.
    </para>
    <para>
     Dette andet eksempel viser hvordan man udskriver en konverteret checksum
     med <function>printf</function> funktionen:
     <example>
      <title>Visning af en crc32 checksum</title>
      <programlisting role="php">
<![CDATA[
<?php
$checksum = crc32("Den hurtige brune ræv hoppede over den dovne hund.");
printf("%u\n", $checksum);
?>
]]>
      </programlisting>
     </example>
    </para>
    <para>
     Se også <function>md5</function> og <function>sha1</function>.
    </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
-->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.