Home >Backend Development >PHP Tutorial >常用时间函数_PHP

常用时间函数_PHP

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-01 12:32:121128browse



常用时间函数(二)



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



常用时间函数
Statement:
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