English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

Usage and Examples of PHP xml_set_notation_decl_handler() Function

PHP XML Function Manual

The xml_set_notation_decl_handler() function is used to establish a comment declaration handler.

Syntax

bool xml_set_notation_decl_handler ( resource $parser , callable $handler )

Definition and Usage

Specifies the function that is called when the parser finds a notation declaration in the XML document.

If successful, the function returns TRUE. If failed, it returns FALSE.

Return Value

Returns True on success, False on failure

Parameter

NumberParameters and Description
1

parser

Reference to the XML parser, used to set the notation declaration handler function.

2

handler

It is used to specify the function used as the event handler

PHP XML Function Manual