acos

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Arc cosine
<?php acos(float $num): float
<?php         $response = new JsonResponse();




        json_encode(['a' => acos(2)]);



        $response->setData(new class implements Jsonable

        {
<?php })->throws(ExpectationFailedException::class, 'oh no!');



test('not failures', function () {

    expect(acos(1.5))->not->toBeNan();

})->throws(ExpectationFailedException::class);