Bash Split String Into Array Php Use For Loop