perfect php ResponseClassまで