r/PHPhelp • u/Sebastianlopez0125 • Dec 23 '22
Solved PHP is a good programming language to study in 2023?
Hi everyone, I started to study programming in this year, In my institute I am studying PHP and I would like you all to tell me if PHP is a good programming language to study yet? Thanks.
3
u/ChrisF79 Dec 23 '22
Yep, learn PHP and then a great framework like Laravel and you're on fucking easy street.
1
6
u/Matrix009917 Dec 23 '22
What, Is It even a question? Of course Is It. 90% of web site Is based on php language.
2
u/Nerwesta Dec 23 '22
Thanks to Wordpress, mostly.
4
u/Matrix009917 Dec 23 '22
And prestahop, and Magento, and Joomla? So?
3
u/jack_skellington Dec 23 '22
And Laravel and Symfony.
2
u/Matrix009917 Dec 23 '22
Even codeigniter Is a good choice. But php Is not old, Is another language for web development.
1
1
u/Nerwesta Dec 23 '22
So my answer is pretty clear, by your sentence "xx% is run by PHP on the Web " it's mostly thanks to WordPress. That's it. In no way I wanted to say the other solutions were inferior, it's just not comparable ( I work daily on Symfony so why would I ).
But WordPress is That popular nowadays it has a huge footprint on PHP usage worldwide. I don't know what's complicated with my sentence.
0
u/Matrix009917 Dec 23 '22
That's Is not propertly correct. By the way Is your opinion
1
u/Nerwesta Dec 23 '22
Please provide some additional material if you think what I say is wrong, I'm open to the discussion.
2
u/Phopaa Dec 23 '22
70% of the content on the internet is powered by PHP. So, most likely, you’ll run into it in the wild some where.
1
4
u/whitewolf08901 Dec 23 '22
Yes every tech stack has its own pros and cons you can learn Php and then learn Php frameworks like laravel and the build some web apps
3
u/oldschool-51 Dec 23 '22
Especially in 2023, as version 8.1 demands some significant changes from 7.4. It is still extremely important (most websites use Wordpress which is based on PHP) and I find it to be the easiest way to generate webapps.
2
u/kAlvaro Dec 23 '22
The main complaints I read about PHP summarise as:
In 2005 it missed the great features that other languages have in 2022.
It doesn't implement any mechanism to prevent clueless people from producing code.
They then mention alternative languages that have the exact same problems.
Debunking typical PHP criticism with arguments is like discussing "women are bad drivers" with statistics: tiring and pointless. If you like it, just learn it. It won't prevent you from adopting other tech stacks in the future and tons of basic concepts are pretty much the same in every language.
2
1
1
u/comment_user Dec 24 '22 edited Dec 24 '22
It depends on your use case.
If you are doing web back end development, PHP and/or Javascript (using Node.js runtime environment) are going to be pretty standard (as well as C#, Java, Ruby, Python). If it is front-end it is probably Javascript (or a variation like TypeScript). If you are dealing with traditional application development, it is probably going to be C++, C#, Java (not that these also do not have application in other areas). If you are doing Quantitative Analysis and/or statistics it is probably going to be Python, R, Matlab, or C++. If it is Machine Learning, it is probably going to be Python, Javascript, R, Java, C++ (although PHP does have a library for this - php-ml ). If it is mobile application development then it is probably going to be Java, Python, C++, Kotlin, or Rust. If it is blockchain, it is probably going to be C++ (Bitcoin), Solidity (ETH), or if it is a Tendermint (now Ignite) and Cosmos-SDK chain then it is Golang (with Rust if using CosmWasm smart contract platform). If you want to write low level - then it is machine, assembly, or more likely portable languages such as C, and then C++ and Rust. None of these are complete lists. It also does not include frameworks that are build on top of any of these programming languages.
If the programming language allows you to easily accomplish your goal, or the goal of a project, and handles extensible issues that may arise in the future, then it will be good for that use case. In most cases though, each language was developed, or extended, with certain use cases in mind - and they do really well for those cases.
If the question is, "what programming languages are most used?" (mainly with the purpose of employment in mind), then it is normally good to look at programming language statistics such as (or job sites):
https://survey.stackoverflow.co/2022/#most-popular-technologies-language-prof
https://insights.stackoverflow.com/survey/2021#most-popular-technologies-language-prof
Hope that helps out a little bit :)
1
u/clusterconpuntillo Dec 24 '22
The fact that you and lot of people aks makes it a reliable program language this days
1
u/joshcam Jan 13 '23
TLDR; Yes!
PHP is widely used to create web applications and is a popular choice among developers for building dynamic websites and web applications. It is a server-side language, which means that it runs on the server rather than in the user's browser, and it is widely supported on most web servers.
PHP has been widely used for more than two decades, and it is still being widely used today. It has a large and active community, which means that there are many resources, tutorials, and forums available to help you learn the language. Additionally, there are many popular PHP frameworks, such as Laravel, CodeIgniter, and Symphony, that make it easier to build web applications and can speed up the development process.
PHP is also a good choice for those who want to work with databases, as it has a good integration with MySQL and other databases.
It's worth noting that the job market for PHP developers is still strong, and there are many opportunities to work on interesting and meaningful projects.
0
u/32gbsd Dec 23 '22
Study C or Basic or Java. Php is full of antipatterns and OOP busy work designed around an increasing number of SAAS tools.
16
u/ryantxr Dec 23 '22
Yes. Absolutely.