The xml_set_start_namespace_decl_handler() function sets up the start namespace declaration handler.
This function specifies what function to be called when a namespace is declared.
Note: The handler parameter can also be an array containing an object reference and a method name.
xml_set_start_namespace_decl_handler(
parser,
handler)
Parameter | Description |
---|---|
parser | Required. Specifies the XML parser to use |
handler | Required. Specifies a function to be used as an event handler. The function must have three parameters:
|
Return Value: | TRUE on success. FALSE on failure |
---|---|
PHP Version: | 4.0.5+ |
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!