Home  >  Article  >  Backend Development  >  有关php程序的问题 。

有关php程序的问题 。

WBOY
WBOYOriginal
2016-06-02 11:34:511204browse

php

function loop_year($year){
if($year%4==0){
return true;
}else{

<code>    return false;}     </code>

}
可以由一下调用?
global $first_day;
if(loop_year($first_day[year])){
$mon_num[1]=29;
}else{

<code>    $mon_num[1]=28;}</code>

}
我是一个初学者 这个问题是在看不懂

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