(PHP 7 >= 7.3.0, PHP 8)
gmp_lcm — Calculate LCM
$num1
$num2
This function computes the least common multiple (lcm) of num1 and num2.
num1
num2
GMP 對象或 int ,或數(shù)字string。
GMP 對象。