https://mysteryweevil.medium.com/solving-the-return-the-next-number-php-programming-problem-c3b68e914a2d