I know when I was seven I could squeeze my way through most security gates.
It's not a problem most zoos face, though. It takes something like this for these things to change.
As was said, the zoo should've had better precautions, but the fault lies first with the kid, and second with his parents.