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-for-compare-age

PHP function compare_age() for determine who is older between multiple persons inside PHP class Person
https://github.com/full-stack-web-developer-and-designer/php-function-for-compare-age

mirnesglamocic php phpfunction

Last synced: about 19 hours ago
JSON representation

PHP function compare_age() for determine who is older between multiple persons inside PHP class Person

Awesome Lists containing this project

README

        

# PHP function for determine who is older
This repository contain PHP function `compare_age()` for determine who is older between multiple persons which is objects in PHP class Person. Then this function returns one of three messages: Person1 is older than Person2, Person1 is younger than Person2, or Person1 and Person2 are the same age.

---

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