Postgres Split Array Php Push Into Array In Php