Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: gmp_or - Manual
[go: Go Back, main page]

PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

gmp_perfect_square" width="11" height="7"/> <gmp_nextprime
Last updated: Mon, 05 Feb 2007

view this page in

gmp_or

(PHP 4 >= 4.0.4, PHP 5)

gmp_or — 論理和を計算する

説明

resource gmp_or ( resource a, resource b )

2 つの GMP 数の論理和を計算します。

例 747. gmp_or() の例

<?php
$or1
= gmp_or("0xfffffff2", "4");
echo
gmp_strval($or1, 16) . "\n";
$or2 = gmp_or("0xfffffff2", "2");
echo
gmp_strval($or2, 16) . "\n";
?>

上のプログラムの出力は以下のようになります。


fffffff6
fffffff2

     



add a note add a note User Contributed Notes
gmp_or
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites