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_add - 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_and" width="11" height="7"/> <gmp_abs
Last updated: Mon, 05 Feb 2007

view this page in

gmp_add

(PHP 4 >= 4.0.4, PHP 5)

gmp_add — 数値を加算する

説明

resource gmp_add ( resource a, resource b )

2 つの GMP 数を加算します。返り値は、引数の合計を表す GMP 数です。

例 725. gmp_add() の例

<?php
$sum
= gmp_add("123456789012345", "76543210987655");
echo
gmp_strval($sum) . "\n";
?>

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


200000000000000

     



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

gmp_and" width="11" height="7"/> <gmp_abs
Last updated: Mon, 05 Feb 2007
 
 
show source | credits | sitemap | contact | advertising | mirror sites