PHP or Python for web development

Please I’ll like to know which is better for web development PHP or Python

Am exploring into backend and would like to know where to start and which is better PHP or Python or both although I rather go with one :pray:

Hello!

There’s not one better than the other, IMO.

However, I would choose Python only because you will write less code.

I’ll second Python: as features go, it’s just a better language in almost every respect, and its syntax is far less “noisy” than PHP. PHP has a stricter type system out of the box, but if you use mypy in Python, you get an even better type system.

1 Like

Thanks for your reply :raised_hands:

1 Like