mirror of
https://github.com/php/php-src.git
synced 2024-12-29 19:59:19 +08:00
Cleanup
This commit is contained in:
parent
2a8426a664
commit
7258bff325
@ -144,13 +144,11 @@ static zend_function_entry spl_funcs_SimpleXMLIterator[] = {
|
|||||||
};
|
};
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
#define SimpleXML_Element sxe_get_element_class_entry()
|
|
||||||
|
|
||||||
SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */
|
SPL_API PHP_MINIT_FUNCTION(spl_sxe) /* {{{ */
|
||||||
{
|
{
|
||||||
zend_class_entry *spl_ce_SimpleXML_Element = sxe_get_element_class_entry();
|
zend_class_entry *spl_ce_SimpleXML_Element = sxe_get_element_class_entry();
|
||||||
|
|
||||||
if (!sxe_get_element_class_entry()) {
|
if (!spl_ce_SimpleXML_Element) {
|
||||||
return SUCCESS; /* SimpleXML must be initialized before */
|
return SUCCESS; /* SimpleXML must be initialized before */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user