I know this is a B/C break, but the only place it was used was doing `array_keys()`. If you think that we should keep B/C here, it can be adjusted to return an array with the same data as before.