Bash Script While Loop Syntax Php