Skip to content

full-stack-web-developer-and-designer/PHP-function-for-compare-age

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages