php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_simplexml.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 | Author: Sterling Hughes <sterling@php.net> |
14 +----------------------------------------------------------------------+
15*/
16
17#ifndef PHP_SIMPLEXML_H
18#define PHP_SIMPLEXML_H
19
21#define phpext_simplexml_ptr &simplexml_module_entry
22
23#include "php_version.h"
24#define PHP_SIMPLEXML_VERSION PHP_VERSION
25
26#ifdef ZTS
27#include "TSRM.h"
28#endif
29
31#include <libxml/parser.h>
32#include <libxml/parserInternals.h>
33#include <libxml/tree.h>
34#include <libxml/uri.h>
35#include <libxml/xmlerror.h>
36#include <libxml/xinclude.h>
37#include <libxml/xpath.h>
38#include <libxml/xpathInternals.h>
39#include <libxml/xpointer.h>
40#include <libxml/xmlschemas.h>
41
45
52
53typedef struct {
54 php_libxml_node_ptr *node;
55 php_libxml_ref_obj *document;
57 xmlXPathContextPtr xpath;
58 struct {
64 } iter;
69
70#ifdef PHP_WIN32
71# ifdef PHP_SIMPLEXML_EXPORTS
72# define PHP_SXE_API __declspec(dllexport)
73# else
74# define PHP_SXE_API __declspec(dllimport)
75# endif
76#else
77# define PHP_SXE_API ZEND_API
78#endif
79
82
84
85#endif
#define PHP_MSHUTDOWN_FUNCTION
Definition php.h:401
#define PHP_MINIT_FUNCTION
Definition php.h:400
#define PHP_MINFO_FUNCTION
Definition php.h:404
SXE_ITER
@ SXE_ITER_ELEMENT
@ SXE_ITER_ATTRLIST
@ SXE_ITER_NONE
@ SXE_ITER_CHILD
#define PHP_SXE_API
zend_module_entry simplexml_module_entry
PHP_SXE_API zend_class_entry * ce_SimpleXMLIterator
PHP_SXE_API zend_class_entry * ce_SimpleXMLElement
PHP_SXE_API zend_class_entry * sxe_get_element_class_entry(void)
zend_function * fptr_count
HashTable * properties
php_libxml_node_ptr * node
zend_string * name
xmlXPathContextPtr xpath
php_libxml_ref_obj * document
zend_string * nsprefix
zend_object zo
struct _zval_struct zval
union _zend_function zend_function
struct _zend_string zend_string
struct _zend_module_entry zend_module_entry
struct _zend_class_entry zend_class_entry
struct _zend_object zend_object
struct _zend_array HashTable
Definition zend_types.h:386