2 ms·
The only things they have in common is that they are easy to use and somewhat uniquitous. But then again you use shell because it works _everywhere_ and that i
by wink 2y ago
The only things they have in common is that they are easy to use and somewhat uniquitous.
But then again you use shell because it works _everywhere_ and that is not true for PHP. PHP is evolving and unless you take some really old code and throw it in a new runtime, nope. People write PHP in the 2020s decidedly different than in the 2010 or 2000s. My bash scripts from this year are working on ancient RHEL machines. And overall I'd say it's very, very hard to write well-tested easy to maintain software of a certain size in bash, whereas in that regard PHP is just another regular programming language.