Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/full-stack-web-developer-and-designer/php-function-leap-year

PHP function for check if a year is a leap year or not
https://github.com/full-stack-web-developer-and-designer/php-function-leap-year

mirnesglamocic php phpfunction

Last synced: about 19 hours ago
JSON representation

PHP function for check if a year is a leap year or not

Awesome Lists containing this project

README

        

# PHP function leap year
This repository contains one web page with a web form to check if a year is a leap year or not. If the year is a leap year, we get the answer "Yes, the year is a leap year!", otherwise "No, the year is not a leap year!" So, with a PHP function that uses the remainder of dividing by 4, it is checked whether the entered year is a leap year or not.

---

To check how it looks, click on the preview and then on the green run button.
##
[PREVIEW](https://replit.com/@MirnesGlamocic/PHP-function-leap-year?v=1)