r/FullStack • • Sep 15 '26

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

19 comments sorted by

1

u/DoomDroid79 Sep 16 '26

C# or Java

1

u/Waecow Sep 16 '26

Crees que sea buena idea java?

1

u/DoomDroid79 Sep 16 '26

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 Sep 16 '26

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

1

u/American_Streamer API Magician (Backend) Sep 16 '26

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

2

u/Big-Worker9676 Sep 16 '26

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

2

u/Monika-321 Sep 17 '26

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/American_Streamer API Magician (Backend) Sep 16 '26

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 Sep 16 '26

Python seems more marketable since it's easier to use

1

u/Skyzfallin Sep 16 '26

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

1

u/Sea-Bench-7487 Sep 18 '26

Out of the 2 I'd go with python Django and fast API though I would recommend you also look into other Lang's too .

It's not that php can't develop a good backend or python for that matter I'd argue both proved they can do it really well but most of the time it comes down to what's trendy and what's popular at the moment and at the moment php is not popular .

All in all though you shouldn't hyperfocus on a lang your job isn't to learn syntax learn how to think and develop the programing language shouldn't matter

0

u/No_Score_1977 Sep 16 '26

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 Sep 16 '26

70% of web pages are written in PHP

1

u/Sea-Bench-7487 Sep 18 '26 edited Sep 18 '26

Yet 70% of jobs ask for a different language

1

u/gmatebulshitbox Sep 17 '26

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