major php doc updates