Small Soldiers was made by Joe Dante, the guy who made Gremlins, and they share a common theme of small creatures wrecking havoc on humans. In Small Soldiers a bunch of toys are installed with hi-tech computer chips, achieve sentience (sort of) and start attacking humans...in a PG sort of way.
If you haven't seen the film I recommend you stop reading here and go watch it. This review's not going anywhere and it will happily wait until you return.