Skip to content

Instantly share code, notes, and snippets.

View babyfaceEasy's full-sized avatar
💭
Night Hacking.

Olakunle M. Odegbaro babyfaceEasy

💭
Night Hacking.
  • KongaPay
  • Lagos, Nigeria
View GitHub Profile
@babyfaceEasy
babyfaceEasy / wilber_response.php
Last active December 5, 2018 19:58
This is the response to Wilber Group PHP developer challenge
<?php
/**
* Instructions:
*
* Given the above JSON, build a simple PHP script to import it.
*
* Your script should create two variables:
*
* - a comma-separated list of email addresses
* - the original data, sorted by age descending, with a new field on each record
def getMax(a, b, c):
max = a;
if a > b:
if b > c:
max = a;
if c > a:
max = c;
if b > a:
if b > c:
max = b;