php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_simplexml_exports.h File Reference
#include "php_simplexml.h"

Go to the source code of this file.

Data Structures

struct  php_sxe_iterator
 

Macros

#define SKIP_TEXT(__p)
 
#define GET_NODE(__s, __n)
 
#define Z_SXEOBJ_P(zv)
 

Functions

PHP_SXE_API zend_objectsxe_object_new (zend_class_entry *ce)
 
PHP_SXE_API void php_sxe_rewind_iterator (php_sxe_object *sxe)
 
PHP_SXE_API void php_sxe_move_forward_iterator (php_sxe_object *sxe)
 

Macro Definition Documentation

◆ GET_NODE

#define GET_NODE ( __s,
__n )
Value:
{ \
if ((__s)->node && (__s)->node->node) { \
__n = (__s)->node->node; \
} else { \
__n = NULL; \
zend_throw_error(NULL, "SimpleXMLElement is not properly initialized"); \
} \
}
#define NULL
Definition gdcache.h:45

Definition at line 29 of file php_simplexml_exports.h.

◆ SKIP_TEXT

#define SKIP_TEXT ( __p)
Value:
if ((__p)->type == XML_TEXT_NODE) { \
goto next_iter; \
}
zend_ffi_type * type
Definition ffi.c:3812
const XML_TEXT_NODE

Definition at line 24 of file php_simplexml_exports.h.

◆ Z_SXEOBJ_P

#define Z_SXEOBJ_P ( zv)
Value:
php_sxe_fetch_object(Z_OBJ_P((zv)))
zval * zv
Definition ffi.c:3975
#define Z_OBJ_P(zval_p)
Definition zend_types.h:990

Definition at line 45 of file php_simplexml_exports.h.

Function Documentation

◆ php_sxe_move_forward_iterator()

PHP_SXE_API void php_sxe_move_forward_iterator ( php_sxe_object * sxe)

◆ php_sxe_rewind_iterator()

PHP_SXE_API void php_sxe_rewind_iterator ( php_sxe_object * sxe)

◆ sxe_object_new()

PHP_SXE_API zend_object * sxe_object_new ( zend_class_entry * ce)