Adding php modes