mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Document the hex2bin odd length error.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324990 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3f318cd328
commit
644ee2d6ed
1 changed files with 11 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
<refentry xml:id="function.hex2bin" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
||||
<refnamediv>
|
||||
<refname>hex2bin</refname>
|
||||
<refpurpose>Convert hex to binary</refpurpose>
|
||||
<refpurpose>Convert the hexadecimal representation of data to binary</refpurpose>
|
||||
</refnamediv>
|
||||
|
||||
<refsect1 role="description">
|
||||
|
@ -14,7 +14,7 @@
|
|||
<methodparam><type>string</type><parameter>data</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Converts the hex representation of data to binary
|
||||
Converts the hex representation of data to binary.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -35,7 +35,15 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns the binary representation of the given data.
|
||||
Returns the binary representation of the given data &return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
If the hexadecimal input string is of odd length an <constant>E_WARNING</constant>
|
||||
level error is thrown.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
Loading…
Reference in a new issue