fix: valid_date does not work in PHP 8.2
fix: valid_date does not work in PHP 8.2

See https://github.com/php/php-src/issues/9431#issuecomment-1230316507

kenjis/CodeIgniter4,kenjis/CodeIgniter4,kenjis/CodeIgniter4,kenjis/CodeIgniter4,kenjis/CodeIgniter4