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_external_entity_ref_handler() function

PHP XML Functions Manual

The xml_set_external_entity_ref_handler() function is used to establish external entity references to the handler.

Syntax

bool xml_set_external_entity_ref_handler ( resource $parser , callable $handler )

Definition and usage

 Function to establish external entity references to the handler specified by the parser parameter.

Return value

Returns True on success, False on failure

Parameter

Serial numberParameters and descriptions
1

parser

Reference to the XML parser used to establish external entity references to the handler.

2

handler

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

PHP XML Functions Manual