• PHP Video Tutorials

PHP - Function XML Parser Create



Syntax

xml_parser_create(encoding)

Definition and Usage

It used to create an XML parser

Return Values

It returns a resource handle to be used by other XML functions on success, or FALSE on failure.

Parameters

Sr.No Parameters & Description
1

encoding

It is used to specifies the output encoding.

Example

Try out the following example

<?php
   $local = xml_parser_create();
   xml_parser_free($local);
?>
php_function_reference.htm
Advertisements