//converts a given degree to a radians value <?php deg2rad(45); // 0.785398163397
//converst radians number into degrees <?php echo rad2deg(M_PI_4); // 45 ?>