Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
PHP を使用して 1 行でうるう年のプログラムを作成するにはどうすればよいですか?
日付("L"); はさらに短いです。
if(date("L")){ //leap year } else { //not leap year }