added php snippet