php doc
implemented spec