php取本月第一天和最后一天

正文开始

~~~ $firstday = date('Y-m-01', strtotime(date("Y-m-d"))); $lastday = date('Y-m-d', strtotime("$firstday +1 month -1 day")); ~~~

正文结束

PHP接口(interface)和抽象类(abstract) php遍历字符串