Update enum-emulator.php

Fatal bug with static cache