Php Array Add Key If Command Bash