Postgres Split Array Php Push Into Array