This phrase is mainly used when your in public and you either mess up or really mad and you don't want to say a long slur of swears.
"Snap, crackle, pop rice crispie treats"! I ripped my nail!