Replace which command with command -v
Remove unneeded line.
Fixed PHP Version Display After Switch.