Return to pi_basic.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / math |
1.1 misho 1: --TEST-- 2: Test pi() - basic function test pi() 3: --INI-- 4: precision=14 5: --FILE-- 6: <?php 7: echo pi(), "\n"; 8: echo M_PI, "\n"; 9: // N.B pi() ignores all specified arguments no error 10: // messages are produced if arguments are spcified. 11: ?> 12: --EXPECTF-- 13: 3.1415926535898 14: 3.1415926535898