xref: /PHP-8.0/ext/standard/tests/math/pi_basic.phpt (revision d7a3edd4)
1--TEST--
2Test pi() - basic function test pi()
3--INI--
4precision=14
5--FILE--
6<?php
7echo pi(), "\n";
8echo M_PI, "\n";
9// N.B pi() ignores all specified arguments no error
10// messages are produced if arguments are spcified.
11?>
12--EXPECT--
133.1415926535898
143.1415926535898
15