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 to be called when the parser finds a notation declaration in the XML document.

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

Return Value

Returns True on success, and False on failure

Parameter

Serial NumberParameters and Description
1

parser

A reference to the XML parser used by the XML parser 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