array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'tr', ), 'this' => array ( 0 => 'function.gmp-mul.php', 1 => 'gmp_mul', ), 'up' => array ( 0 => 'ref.gmp.php', 1 => 'GMP İşlevleri', ), 'prev' => array ( 0 => 'function.gmp-mod.php', 1 => 'gmp_mod', ), 'next' => array ( 0 => 'function.gmp-neg.php', 1 => 'gmp_neg', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/gmp/functions/gmp-mul.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.4, PHP 5, PHP 7, PHP 8)
gmp_mul — Multiply numbers
Multiplies num1
by num2
and returns the result.
Bir GMP nesnesi.
Örnek 1 gmp_mul() example
<?php
$mul = gmp_mul("12345678", "2000");
echo gmp_strval($mul) . "\n";
?>
Yukarıdaki örneğin çıktısı:
24691356000