svn: /phpdoc/ru/trunk/reference/strings/functions/ hex2bin.xml
| From: | Vinyarchuk Dmitry | Date: | Tue, 20 Dec 2011 16:52:35 +0000 |
| Subject: | svn: /phpdoc/ru/trunk/reference/strings/functions/ hex2bin.xml | ||
| Groups: | php.doc.ru | ||
| Request: | Send a blank email to doc-ru+get-3424@lists.php.net to get a copy of this message | ||
tmn Tue, 20 Dec 2011 16:52:35 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=321278
Log:
Updated translation.
Changed paths:
U phpdoc/ru/trunk/reference/strings/functions/hex2bin.xml
Modified: phpdoc/ru/trunk/reference/strings/functions/hex2bin.xml
===================================================================
--- phpdoc/ru/trunk/reference/strings/functions/hex2bin.xml 2011-12-20 16:23:10 UTC (rev 321277)
+++ phpdoc/ru/trunk/reference/strings/functions/hex2bin.xml 2011-12-20 16:52:35 UTC (rev 321278)
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 317663 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 321135 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes -->
<!-- $Revision$ -->
<refentry xml:id="function.hex2bin" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
<refname>hex2bin</refname>
- <refpurpose>Преобразует шестнадцатеричное
представление данных в двоичное</refpurpose>
+ <refpurpose>Преобразует шестнадцатеричные данные в
двоичные</refpurpose>
</refnamediv>
-
+
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
@@ -16,13 +16,9 @@
<methodparam><type>string</type><parameter>data</parameter></methodparam>
</methodsynopsis>
<para>
-
</para>
-
- &warn.undocumented.func;
-
</refsect1>
-
+
<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
@@ -36,24 +32,44 @@
</varlistentry>
</variablelist>
</refsect1>
-
+
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Возвращает двоичное представление данных.
</para>
</refsect1>
-
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <example xml:id="hex2bin.example.basic">
+ <title>Пример использования
<function>hex2bin</function></title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+$hex = hex2bin("6578616d706c65206865782064617461");
+var_dump($hex);
+?>
+]]>
+ </programlisting>
+ &example.outputs.similar;
+ <screen>
+<![CDATA[
+string(16) "пример hex данных"
+]]>
+ </screen>
+ </example>
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
- <para>
- <simplelist>
- <member><function>bin2hex</function></member>
- <member><function>unpack</function></member>
- </simplelist>
- </para>
+ <para>
+ <simplelist>
+ <member><function>bin2hex</function></member>
+ <member><function>unpack</function></member>
+ </simplelist>
+ </para>
</refsect1>
-
+
</refentry>
<!-- Keep this comment at the end of the file