Add php foreach snippet