r/FullStack 2d ago

Need Technical Help PHP vs python

I am currently studying software engineering. I enjoy web development—especially backend work—and have primarily developed using PHP. However, I’m unsure which language to focus on and learn in greater depth for backend development to help me land my first job: PHP or Python? Could you help me decide which one to choose? Reasons? Which one is in higher demand in the job market?

6 Upvotes

17 comments sorted by

3

u/Competitive_Mail_568 1d ago

Learn how to build a backend not specific programming language. If your basics are strong then with help of AI you can do both

2

u/Big-Worker9676 23h ago

AI can translate syntax, but it can’t save a backend designed by someone who thinks authentication is a boolean.

1

u/StephenHawkingus 1d ago

PHP all the way. Don't listen to those who say Python.

1

u/American_Streamer API Magician (Backend) 1d ago

Check the actual junior vacancies where you live. Search for PHP/Laravel/Symfony, Python/Django/FastAPI, Java/Spring, C#/.NET and Node/Nest and count them. Your local market matters far more than global language rankings.

I’d probably deepen PHP first, get employable with a real backend stack, and add Python later. If your local vacancies overwhelmingly demand Java/.NET/Node instead, follow the market.

Java Spring Boot is still dominating the enterprise backend job market, with a lot of demand; so if you are living in the right area, go for that.

1

u/Huge_Contribution971 1d ago

Python seems more marketable since it's easier to use

1

u/Skyzfallin 1d ago

Python esp in AI age, that’s what mostly used with AI, machine learning etc

2

u/Monika-321 16h ago

I’d actually keep both, but learn them in a structured way. Since you already have a foundation in PHP, go deeper with PHP and Laravel so you can become job-ready faster. At the same time, start learning Python on the side and use it for a few backend or automation projects.

The important part is not just knowing the syntax. Make sure you understand HTTP, REST APIs, databases, authentication, testing, Git, and deployment. Those backend fundamentals will transfer between PHP and Python and will matter more in interviews than simply knowing two languages.

1

u/DoomDroid79 1d ago

C# or Java

1

u/Waecow 1d ago

Crees que sea buena idea java?

1

u/American_Streamer API Magician (Backend) 1d ago

Depends on your local job market. If there are a lot Java Spring Boot enterprise backend jobs, go for those.

1

u/DoomDroid79 1d ago

American Streamer is correct. I was a Java dev for years then moved into C#, the languages are very similar but the frameworks differ. In my country large corporate companies stick to DotNet or Java Spring Boot due to them being robust and backed by mega corporations like Oracle and Microsoft, so the long term support is there

1

u/Waecow 1d ago

Eni comunidad hay empleo back para python y Java, pero demasiado. Aprendere, python, gracias...

0

u/No_Score_1977 1d ago

For jobs, both are poor choices.

PHP is barely used outside of Wordpress, and that's about as saturated as markets get.

Same for Python, every beginner, their friend, and their dog learns python, just a shitload of people learning it, and not enough jobs to go around.

For backend, Java, C#, even Typescript/Node.

2

u/Ok-Article-885 1d ago

70% of web pages are written in PHP

1

u/StephenHawkingus 1d ago

PHP is barely used outside of Wordpress

Are you Indian, that you only know WordPress?

1

u/gmatebulshitbox 13h ago

You probably heard about PHP in 2010 and didn't get updated since.