add php snippet