Why people are selecting PHP as a career as compare to others?

I wanna know that whats the future of PHP, If a First year students wants to make their career as a PHP developer then it would be the better option or not? If yes then how and if no then Why?

I have three cases.

    • The First one one who have good basics in coding and got a job in MNC.
    • Second One who have average knowledge of PHP.
    • Third who have less knowledge or blank.

Then How they need to start from the beginning, Don’t tell your journey only let me know through I can expert within one year.

1 year isn’t enough. People who have been writing in PHP for many many years still are learning. So there’s really no tell because new features come out very frequently.

I would also say that really if you are looking for a career in PHP, what you really need are soft skills. You can write the best PHP app out there and have 50 million views per day, but if your soft skills isn’t that good you won’t really make it in the professional field. Employers typically look for soft skills in their future employees. So regardless of the programming language you want to learn or know, if you lack soft skills you won’t really make it.

1 Like

Can you give us an example of “soft skills”?

Soft skills are things like communication, effective speaking, team work, being dependable and reliable, working well with others, etc.

The reason is quite simple. The language is easy to understand in comparision to the other languages and serve the purpose of making web building better than any other language.

That is kind of a blanket statement and in my opinion this is not true. Sure, it’s easy to get started in PHP because of dynamic typing and because it’s very forgiving. However, when you get to a more serious level with PHP all these things you thought were helping you are actually hindering you, and you basically need to relearn the entire language.

Depends on the use case. PHP is very good at solving some use cases (simple request response) but doesn’t really shine at others (websockets, concurrency). Just saying it’s better than everything else out there is simply not true.


I agree with @rpkamp, and will add more: Everything is based upon C. The PRIMARY difference between most server-side languages is syntax. ColdFusion is kind of an exception, in that the commonly used form is tag (ie, CFFORM, CFOUTPUT, CFQUERY, etc.), but CF also has CFSCRIPT, which allows the user to write code similar to Perl or JavaScript.

But there are also features, which distinguish the different languages. One of the things I really like about CF is the implementation of oWasp ESAPI (Enhanced Security API) and allows the coder to use things like CFQUERYPARAM to guard against SQL injection attacks, and canonicalize() to reduce obfuscated code into the base value.

PHP is a good language, I like it very much. But I have only tutorial knowledge of PHP, and am not familiar with the higher functions. I also remember (years ago) that PHP didn’t natively handle file uploads very well; I’m assuming that this has been improved, over the years.

So, in a nutshell - no matter what language you intend to learn, you’re going to be learning new things all the time, even 20 years down the road.


^ _ ^

1 Like

Thanks for giving a brief understanding. I would like to add up in php languages advantages and disadvantages

a)Open source- Just like java it is readily available. It’s available for everyone and everywhere. The good part is it’s cross platform and doesn’t need to much of efforts in understanding, even a new learner can understand it easily.

b) cross platform- The language is versatile and runs on different platforms which includes Linux, UNIX etc. since its a server side scripting hence it needed to be simple and easy to be implemented. The web technologies server side scripting is the firm feature of this language. It is monitored and helps in memory management.

c)robust- Since it runs on server side. Hence it needed to be secure. Php fulfils this criteria. It quickly gives an alert for memory leaks, unbounded loops, and other wrong behaviours, immediately killing them and restart them over again.

d)Easy to use- It doesn’t need a technical expertise to get it’s deep knowledge. The language is similar to c. Hence if one is aware of c then he won’t find that difficult and effort taking.

e)Secure- Php is secure as much as any other language. There could be some issues like other languages. Sometime it could break the privacy protocols but still we count it a compatible. It connects with database often. so database connectivity is not a harassment.


a) Poor error handling.- Lack of debugging tool integration leads to throw errors and exceptions.

choosing a career in php will initiate you to learn the web technologies in short and crispy sense.

That last point is not entirely true. Though there isn’t much tools to visually show and tell you exactly and how things break, you can get the gist of things if you just read the errors. It’s not really that hard tbh. For errors such as Undefined Index, those errors are saying that you are “trying” to reference a variable that was never really created. A lot of the causes for this is logical. People tend to over think logical things. For example if A was never set, then do B. People don’t think this way. They think “If this file is requested by the user, then it must have an input” which isn’t entirely true at all. In this case, A was never set nor was B ever implemented therefore PHP cannot do anything else so you get an Undefined Index error. See how logic has to play in this?

Other errors such as Header already sent errors are also logical errors (IMO). Since all web languages have to adhere to HTTP 1/1, you cannot output anything to the screen before you do anything with the header. If you output before you do any header calls, you are going to get this Header already sent error. Again, the rule is that you only output after you are done modifying the header.

The best tool you have is enabling your error logs and debugging while you code. People don’t do this and tend to do everything at the end when they’ve already written an entire system. This is bad practice because now what if you have 1,000 errors? You have to go through hundreds of code just to get rid of those 1,000 errors.

IMO, error handling isn’t much of a problem as bad practice is. Bad practice creates bad habits. Bad habits create bad code. Bad code creates bad language reputation.

If you want my honest opinion, then I want to be blunt and don’t want to be rude. But I honestly think a beginner should learn from the manual or an updated book. Learning from tutorials isn’t the best thing to be doing. There is always 1 thing that all tutorials fail to teach and that is security. Security in the IT field is a big problem. The IT field is constantly fighting against hackers, spam bots, etc. There is always new security introduced in every language every so years. Learning from a tutorial website won’t teach you that. Unless that tutorial site is on the pace with current security standards, then I don’t think using tutorial websites should be your highest priority right now.

What I also don’t think that tutorials will teach you is how to think for yourself and how to solve problems. They teach you a specific way of solving a particular problem, but it’s not always the right way nor the most efficient way. This doesn’t teach you how to really solve problems that you may come across that maybe similar, but hold different requirements. It only teaches you how to solve that particular problem.

So in all honesty, if you want to learn PHP then I would say learn from the manual. Learn the basic bits and then make a small little project of what you learned from the manual. Say for instance, a Hello World app. Write something simple like that and work your way up. Don’t rush things because once you start to get into advance topics, it’s going to be pretty hard.

People don’t often take PHP seriously because they leave during the beginning stage and then just go and complain about it. They’ve never really completed the beginning stage and gone to the more advanced topics. The advanced topics are pretty much what makes PHP popular. It’s what makes up most PHP frameworks.

We seem to be getting off-track here. What @vijay27 asked was this:

1 Like