Implementing same tasks in Python and PHP to see which one performs better.