added php examples
edits