updates to php examples