php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_xml.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Authors: Stig Sæther Bakken <ssb@php.net> |
14 | Thies C. Arntzen <thies@thieso.net> |
15 | Sterling Hughes <sterling@php.net> |
16 +----------------------------------------------------------------------+
17*/
18
19#ifndef PHP_XML_H
20#define PHP_XML_H
21
22#ifdef HAVE_XML
23
24extern zend_module_entry xml_module_entry;
25#define xml_module_ptr &xml_module_entry
26
27#include "php_version.h"
28#define PHP_XML_VERSION PHP_VERSION
29
30#include "expat_compat.h"
31
32#ifdef XML_UNICODE
33#error "UTF-16 Unicode support not implemented!"
34#endif
35
36#else
37#define xml_module_ptr NULL
38#endif /* HAVE_XML */
39
40#define phpext_xml_ptr xml_module_ptr
41
49
50#ifdef LIBXML_EXPAT_COMPAT
51#define PHP_XML_SAX_IMPL "libxml"
52#else
53#define PHP_XML_SAX_IMPL "expat"
54#endif
55
56#endif /* PHP_XML_H */
php_xml_option
Definition php_xml.h:42
@ PHP_XML_OPTION_CASE_FOLDING
Definition php_xml.h:43
@ PHP_XML_OPTION_PARSE_HUGE
Definition php_xml.h:47
@ PHP_XML_OPTION_SKIP_WHITE
Definition php_xml.h:46
@ PHP_XML_OPTION_SKIP_TAGSTART
Definition php_xml.h:45
@ PHP_XML_OPTION_TARGET_ENCODING
Definition php_xml.h:44
struct _zend_module_entry zend_module_entry