Most children stop playing with toys around 11 or slightly before. Of course, this is different for everyone, and there are plenty of adults that still enjoy playing with certain toys! Stopping playing with toys is also a gradual process – you may notice that a child has played with a certain toy less and less often, until one day you realize they haven’t played with it for a long time.
There’s also no real danger in allowing children to continue playing with toys as long as they wish. If they’re learning and well-adjusted, often an old toy they’ve outgrown can still be a source of comfort and reassurance and that’s okay.