Powershell Remove Empty Lines In Array Function In Php