php snips code