domdocument class: check out the php manual entry for this class, which represents an entire html or xml document and serves as the root of the document tree.
but most of these require manual entry of port numbers and server addresses, which can be confusing.
但很多这样的客户端都需要手动输入端口号和服务器地址,这很让人费解。
it provides an emulator where you can specify return data to emulate the result of the target service component via manual entry or retrieval from a specified file.