can i give the fit course for student using PHP? [closed]

I have a project for student that’s give a best fit courses for the future base on the few questions that i give, PHP is enough for algorithm and if not what should i learn more. I search the php-ML it is enough? or i need to learn the other language