PHP7 Excercise for Tecnocen
Goal
Calculate the sum from all the numbers in the Fibonacci sequence which are even and lesser than 4 000 000.
Instructions
Install this project using composer
, load the database using the db.sql
file
and adjust the db credentials in the index.php
file
Edit the files Connection.php
and FibonacciModel.php
so that the classes
work using PHP7.
IMPORTANT: Do not change the signature of the methods in the classes since thats what will be evaluated
Execute the index.php
file using a browser or console with PHP7.