Attacking zombie when gamerule doMobSpawning = false spawn more zombies
I have set the world's gamerule doMobSpawning to false.
Attacking spawned Zombies or Zombie pigmen in the overworld causes zombies to spawn, using the new mechanic, and attack me.
This is true for both creative and survival.