cvs: phpdoc /en/language operators.xml
| From: | Daniel Convissor | Date: | Mon, 13 Apr 2009 04:06:03 +0000 |
| Subject: | cvs: phpdoc /en/language operators.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3692@lists.php.net to get a copy of this message | ||
danielc Mon Apr 13 04:06:03 2009 UTC
Modified files:
/phpdoc/en/language operators.xml
Log:
* Bitwise: add references to gmp extension for large numbers.
http://cvs.php.net/viewvc.cgi/phpdoc/en/language/operators.xml?r1=1.138&r2=1.139&diff_format=u
Index: phpdoc/en/language/operators.xml
diff -u phpdoc/en/language/operators.xml:1.138 phpdoc/en/language/operators.xml:1.139
--- phpdoc/en/language/operators.xml:1.138 Mon Apr 13 03:54:14 2009
+++ phpdoc/en/language/operators.xml Mon Apr 13 04:06:03 2009
@@ -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 @@
</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">