added basic phpErrpr api documentation