Anchoring toilet flange into hollow space in floor?
you can just inject hydraulic cement into the void and let cure.  then anchor your flange with a tapcon type screw.  or just inject the hydraulic cement and then insert a screw into the wet cement.  when it cures, it will lock the screw in place.