常用时间函数_PHP
程序员文章站
2022-05-14 15:53:21
...
print("pi=".pi());
print("
");
print("sin(0.5 * pi())=".sin(0.5 * pi()));
print("
");
print("cos(2 * pi())=".cos(2 * pi()));
print("
");
//打印从1到100中间的10个随机的数
for($index = 0; $index {
print(rand(1,100) . "
\n");
}
?>