Added php doc.
Little corrections.