3 ms·
I would say that PHP is pretty similar to Ruby and Python. It has a messier history and some inconsistent syntax that people like to complain about. On the othe
by mediascreen 6y ago
I would say that PHP is pretty similar to Ruby and Python. It has a messier history and some inconsistent syntax that people like to complain about. On the other hand it has a huge community, a wide selection of web frameworks, a big set of useful built in functions and libraries, an ecosystem of useful services (for example around Symfony and Laravel) and excellent performance for a scripting language. Both the language and the ecosystem is still developing at a good pace.
In addition there are CMS:es like WordPress, Magento and Drupal with huge market shares that can be used for everything from small blogs where you to pick a theme and get a site up in minutes, to large e-commerce sites up to advanced headless backends for large publishing platforms.
It is declining in use, but the way I see it it's only because there are more alternatives nowadays, not because it's not a good option.