极奇怪的,知道bug在哪里,但不知道为何会出现这bug?
<!--
Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/
-->
<?php class calendar{
private $year;
private $month;
private $daynum;
private $start_day;
function __construct(){
$this->year=isset($_GET["year"])?$_GET["year"]:date("Y");
$this->month=isset($_GET["month"])?$_GET["month"]:date("n");
$this->daynum=date("t",mktime(0,0,0,$this->month,1,$this->year));
$this->start_day=date("w",mktime(0,0,0,$this->month,1,$this->year));
}
function out(){
echo '
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号