Postgres Split String To Array Php