For instance, executing a database query in PHP or Python, should not be slower nor faster than any other language. It is up to the database server.
Other than that, both (the original) PHP and Python implementations come with extensions written in C/C++ code, so comparing the speed of PHP and Python is just comparing how fast the commands that access that C/C++ code run. So you are not really comparing PHP and Python.
we have now a days virtual universities apart that we can find all kind of tutorial on YouTube from worldwide exports of all categories. apart that we can read informative blogs and educational sites many of these things wasn't available in past.