This is a tough question, it's asked often.
Python has largely taken over php as the most popular programming language. Others like R, Go and Js variants like react or vue and node.js are coming up behind.
PHp has long been the leader for its ease of use, huge support base, mega sized libraries, code examples and a billion online tutorials. PHP is the engine behind 80% of the web and will likely remain in the top 3 for decades to come.
Also, php is attractive because you can integrate most other modern language in one way or another. You can benefit from emerging technologies, while keeping your base system clean and stable.
I migrated from basic(a) to C to Vs, to cgi-perl to php and c++ and everything in between and beyond. Of all language, python is the most intuitive. Other allow for more
Complex expression. Php is the best and worst of both worlds. It bridges a gap between machine programming and web programming.