support some php snippet