xxxxxxxxxx
<?php
// 36. hypot()
$num1 = 3;
$num2 = 4;
echo hypot($num1, $num2);
echo "\n";
// Output:
// 5
// 37. deg2rad()
$num = 180;
echo deg2rad($num);
echo "\n";
// Output:
// 3.1415926535898 (approximately pi)
// 38. rad2deg()
$num = pi();
echo rad2deg($num);
echo "\n";
// Output:
// 180
// 39. fmod()
$num1 = 5.7;
$num2 = 1.3;
echo fmod($num1, $num2);
echo "\n";
// Output:
// 0.5
// 40. intdiv()
$num1 = 10;
$num2 = 3;
echo intdiv($num1, $num2);
echo "\n";
// Output:
// 3
?>