The script, available on GitHub, allows the user to select a topic and the amount of questions to load from that topic. The questions are loaded randomly and dynamically from the files. After the user answered all the questions a table is provided giving an overview of the correct answers and the score.
Edit: Github repo with feedback implemented: https://github.com/NielDuysters/symfony-certificate-training/