gmp_mul

(PHP 4 >= 4.0.4, PHP 5, PHP 7)

gmp_mulMultiply numbers

说锟斤拷

gmp_mul ( GMP $a , GMP $b ) : GMP

Multiplies a by b and returns the result.

锟斤拷锟斤拷

a

A number that will be multiplied by b.

锟斤拷锟斤拷锟斤拷一锟斤拷 GMP 锟斤拷锟斤拷 resouce锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷转锟斤拷为锟斤拷值锟斤拷锟街凤拷锟斤拷锟斤拷

b

A number that will be multiplied by a.

锟斤拷锟斤拷锟斤拷一锟斤拷 GMP 锟斤拷锟斤拷 resouce锟斤拷锟斤拷一锟斤拷锟斤拷锟斤拷转锟斤拷为锟斤拷值锟斤拷锟街凤拷锟斤拷锟斤拷

锟斤拷锟斤拷值

GMP 锟斤拷值锟斤拷源.

锟斤拷锟斤拷

Example #1 gmp_mul() example

<?php
$mul 
gmp_mul("12345678""2000");
echo 
gmp_strval($mul) . "\n";
?>

锟斤拷锟斤拷锟斤拷锟教伙拷锟斤拷锟斤拷锟�

24691356000