added php doc