Functional Programming in PHP with a twist of Object-Oriented Programming