Postgres Split Array Php Example