array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.acos.php', 1 => 'acos', ), 'up' => array ( 0 => 'ref.math.php', 1 => 'Math Functions', ), 'prev' => array ( 0 => 'function.abs.php', 1 => 'abs', ), 'next' => array ( 0 => 'function.acosh.php', 1 => 'acosh', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/math/functions/acos.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4, PHP 5, PHP 7, PHP 8)
acos — Arc cosine
Returns the arc cosine of num
in radians.
acos() is the inverse function of
cos(), which means that
$num == cos(acos($num))
for every value of
num
that is in
the domain of acos().
num
The argument to process
The arc cosine of num
in radians.