I'm disappointed that you didn't use an `array_intersect_keys()` and `array_flip()` one-liner here.