Is PHP a good choice for cross-platform shell scripting? I need something that is easy to learn and works across multiple platforms without changing the script.
>>61491177
Php is dope as fuck.
php is a scripting language so yes
>>61491177
python is better for cross scripting
>>61491410
this
PHP is shit, especially shit outside of a web environment
>>61491574
>makes claim
>doesnt provide proof
>>61491410
You mean Perl
>>61491177
PHP hell yeah, and its danish
>>61491177
People use php for reasons other than generating HTML on a website?
o i m laffn
>>61491699
>>61491177
>Is PHP a good choice
No.
>>61491819
>still not proof
most OSes, including Mac and Linux can run bash and python; Windows,well can run python and batch but not bash (at least not natively)
I've heard about PHP CLI, never heard of it outside servers
>ITT: brainlets love Python
So many coders!
>>61491177
You can even use node.js and you won't have to put up with a poorly designed language. It has modules such as path built in, which make working with file paths easier.
The only time you should ever use PHP is if you're outputting HTML for a website.