常用时间函数_PHP

WBOY
Release: 2016-06-01 12:32:12
Original
1065 people have browsed it



常用时间函数(二)



 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");
 }
?>



常用时间函数
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template