<?php
/**
使用函数 求圆的面积
**/
function circle($n){
    define('PI',3.14);
    echo PI * $n * $n;
}
circle(3);

?>

使用函数 求圆的面积

 

相关文章: