Ver original$abs2 = abs($num1 - $num2);$abs3 = abs($num1 - $num3);if ($abs2 < $abs3)) { echo 'NUM 2 :' . $num2;} elseif ($abs2 == $abs3) { echo 'IGUALES';} else { echo 'NUM 3:' . $num3;}