(PHP 4, PHP 5, PHP 7, PHP 8)
tan — 正切
$num
tan() 傳回 num 參數的正切值。num 參數的單位是弧度。
num
數值
以弧度為單位的參數值
num 的正切值
範例 #1 tan() 範例
<?phpecho tan(M_PI_4); // 1?>