PHP ã®é¢æ°ã«ã¯ããããããã®ãããã¾ãããï¼ä»ã®è¨èªã§ãããã®ããªï¼ï¼checkdate é¢æ°ã¯ãã®æ¥ãåå¨ãããã©ããããã§ãã¯ããé¢æ°ãªã®ã§ãã ä¾ãã° checkdate( 2, 29, 1985 ) ã¨è¨è¿°ãããã¨ã§1985å¹´2æ29æ¥ãåå¨ãããã©ããããããã¾ãããã®é¢æ°ããã®ã¾ã¾å®è¡ããã¨ãä½ã表示ããã¾ããã2æ29æ¥ãåå¨ããªãããã§ããããã28æ¥ã«ããã¨ï¼ã表示ããã¾ãããããtrueãè¿ãã¨è¨ããã¨ãªãã§ãããã ä»åº¦ã¯ for($day = 1; checkdate(2, $day, 1985); $day++ ){echo $day;} ã¨ãã£ã¦ã¿ã¾ããããã¯$day ãï¼ããå§ã¾ãé ã«å¢ãã¦ãããããã¦ãããåå¨ããã° $day ã表示ããã29ã«ãªããããåå¨ããªããã°ã«ã¼ããæãåºãã¨ããå½ä»¤ã§ããããã使ãã°ãæå®ããå¹´æã®æ¥ä»ãé ã«ãã¹ã¦è¡¨ç¤ºã
{{#tags}}- {{label}}
{{/tags}}