TREVOR: Added PHP queries