add php doc
revert d642d4effee1d9be910747edf99fc12e6ec071fb