PHP xml_set_end_namespace_decl_handler() Function
Definition and Usage
The xml_set_end_namespace_decl_handler() function sets up the end namespace declaration handler.
This function specifies what function to be called when leaving the scope of a namespace declaration. This will be called, for each namespace declaration, after the handler for the end tag of the element in which the namespace was declared.
Note: The handler parameter can also be an array containing an object reference and a method name.
Syntax
xml_set_end_namespace_decl_handler(parser, handler)
Parameter Values
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 two parameters:
|
Technical Details
Return Value: | TRUE on success. FALSE on failure |
---|---|
PHP Version: | 4.0.5+ |
❮ PHP XML Parser Reference