• PHP Video Tutorials

PHP - XML Set Unparsed Entity Decl Handler



Syntax

bool xml_set_unparsed_entity_decl_handler ( resource $parser , callable $handler )

Definition and Usage

It used to set up unparsed entity declaration handler

Return Values

It returns True on success or false on failure

Parameters

Sr.No Parameters & Description
1

Parser

A reference to the XML parser to use inside the object.

2

Handler

It is used to specifies name of function that must exist when xml_parse()

The handler must have below functions

Sr.No Parameters & Description
1

parser

Specifies a variable containing the XML parser calling the handler

2

target

Specifies a variable containing processing instruction target

3

entity_name

The name of the entity that is about to be defined.

4

system_id

It is used to identifier the external entity.

5

public_id

It is used to public identifier the external entity.

php_function_reference.htm
Advertisements