svn: /phpdoc/de/trunk/reference/strings/functions/ hex2bin.xml

From: Date: Wed, 06 Jun 2012 18:56:18 +0000
Subject: svn: /phpdoc/de/trunk/reference/strings/functions/ hex2bin.xml
Groups: php.doc.de 
Request: Send a blank email to doc-de+get-4262@lists.php.net to get a copy of this message
nikic Wed, 06 Jun 2012 18:56:18 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=326000 Log: Commit changes by Druide Changed paths: U phpdoc/de/trunk/reference/strings/functions/hex2bin.xml Modified: phpdoc/de/trunk/reference/strings/functions/hex2bin.xml =================================================================== --- phpdoc/de/trunk/reference/strings/functions/hex2bin.xml 2012-06-06 12:48:32 UTC (rev 325999) +++ phpdoc/de/trunk/reference/strings/functions/hex2bin.xml 2012-06-06 18:56:18 UTC (rev 326000) @@ -1,11 +1,11 @@ <?xml version="1.0" encoding="utf-8"?> <!-- $Revision$ --> -<!-- EN-Revision: 321135 Maintainer: hholzgra Status: working --> +<!-- EN-Revision: 325991 Maintainer: hholzgra Status: working --> <refentry xml:id="function.hex2bin" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <refnamediv> <refname>hex2bin</refname> - <refpurpose>Wandelt Hex in Binary um</refpurpose> + <refpurpose>Dekodiert einen hexadezimal kodierten Binärstring</refpurpose> </refnamediv> <refsect1 role="description"> @@ -15,9 +15,15 @@ <methodparam><type>string</type><parameter>data</parameter></methodparam> </methodsynopsis> <para> - Konvertiert die hexadezimale Darstellung von Daten in ihre - binäre Form. + Dekodiert einen hexadezimal kodierten Binärstring. </para> + <caution> + <para> + Diese Funktion konvertiert <emphasis>NICHT</emphasis> eine Hexadezimalzahl + in eine Binärzahl. Dafür kann stattdessen die <function>base_convert</function> + Funktion verwendet werden. + </para> + </caution> </refsect1> <refsect1 role="parameters"> @@ -37,10 +43,43 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Gibt die binäre Repräsentation der Daten zurück. + Gibt die binäre Repräsentation der Daten zurück &return.falseforfailure;. </para> </refsect1> + <refsect1 role="errors"> + &reftitle.errors; + <para> + Falls die Länge des Eingabestrings ungerade ist, wird ein + <constant>E_WARNING</constant> Fehler geworfen. + </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>5.4.1</entry> + <entry> + Wenn die Länge des Eingabestrings ungerade ist, wird ein Fehler geworfen. In PHP 5.4.0 wurde + ein String ungerader Länge akzeptiert, jedoch wurde das letzte Byte abgeschnitten. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <example xml:id="hex2bin.example.basic">

« previous php.doc.de (#4262) next »