We need to support that because getCode() can return mixed. This is why the `is_numeric` check is there at all.