* Bitwise: add references to gmp extension for large numbers.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@278625 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Convissor 2009-04-13 04:06:03 +00:00
parent 2bbab31769
commit 19e71c8c8b

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.138 $ -->
<!-- $Revision: 1.139 $ -->
<chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook">
<title>Operators</title>
<simpara>
@ -952,10 +952,22 @@ Expression: 0 = -4 << 62
</para>
<warning>
<para>
Don't right shift for more than 32 bits on 32 bits systems. Don't left shift
in case it results to number longer than 32 bits.
Don't right shift for more than 32 bits on 32 bits systems.
Don't left shift in case it results to number longer than 32 bits.
Use functions from the gmp extension for bitwise manipulation on
numbers beyond PHP_INT_MAX.
</para>
</warning>
<para>
See also
<function>pack</function>,
<function>unpack</function>,
<function>gmp_add</function>,
<function>gmp_or</function>,
<function>gmp_xor</function>,
<function>gmp_testbit</function>,
<function>gmp_clrbit</function>
</para>
</sect1>
<sect1 xml:id="language.operators.comparison">