有关php程序的问题 。

WBOY
Release: 2016-06-02 11:34:51
Original
1205 people have browsed it

php

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

<code>    return false;}     </code>
Copy after login

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

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

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

Related labels:
php
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