php vs bash for CLI scripting?

Posted by fayer on Stack Overflow See other posts from Stack Overflow or by fayer
Published on 2010-05-06T23:17:48Z Indexed on 2010/05/06 23:28 UTC
Read the original article Hit count: 305

Filed under:
|
|

i have never used PHP with CLI, but i have seen scripts run with php code.

i was wondering, why should we use bash, when php is so popular and is able to run in CLI.

what are the pros and cons with each one?

should i use php for all CLI scripting in the future?

© Stack Overflow or respective owner

Related posts about php

Related posts about bash