(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 ,或数字string。
GMP 对象。