Traditionally I've written the majority of my server maintenance scripts in bash like most people, however recently I've found myself move more towards php cli scripts for this due to ease of development and increased functionality.
I'm generally a 'right tools for the job' type person so am comfortable using both in the right context but am thinking of moving everything to PHP for consistency.
Does anyone thing this is a bad idea or have any thoughts as to why maintenance scripting with PHP might be a bad idea?