When you’re starting to learn about web development, it can be overwhelming to understand how browsers work on top of everything else you need to learn.
People interested in learning to code worry about needing to be good at math. The answer, like most issues in tech, the answer is “it depends”.
PHP has improved a lot since you probably looked at it. It’s time to look at PHP again – this time with fresh eyes, and consider using PHP `for developing your next application.