mirror of
https://github.com/php/php-src.git
synced 2024-10-21 00:12:34 +00:00
15 lines
270 B
Plaintext
15 lines
270 B
Plaintext
|
--TEST--
|
||
|
Test pi() - basic function test pi()
|
||
|
--INI--
|
||
|
precision=14
|
||
|
--FILE--
|
||
|
<?php
|
||
|
echo pi(), "\n";
|
||
|
echo M_PI, "\n";
|
||
|
// N.B pi() ignores all specified arguments no error
|
||
|
// messages are produced if arguments are spcified.
|
||
|
?>
|
||
|
--EXPECTF--
|
||
|
3.1415926535898
|
||
|
3.1415926535898
|