summaryrefslogtreecommitdiff
path: root/ext/dom
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-05-10 19:41:34 +0000
committerMarcus Boerger <helly@php.net>2006-05-10 19:41:34 +0000
commit0dacd6d5c00eed33180ae5de7055bb3c1d00bd30 (patch)
treee4bdd06dc47fce2a6670dcc8832e88a37b4fc441 /ext/dom
parent1048c9cd52381dd4c98238ea2b1d4edce754ade8 (diff)
downloadphp-git-0dacd6d5c00eed33180ae5de7055bb3c1d00bd30.tar.gz
- ze1 cleanup (bjori) /thx
Diffstat (limited to 'ext/dom')
-rw-r--r--ext/dom/php_dom.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/ext/dom/php_dom.c b/ext/dom/php_dom.c
index 07262a8d49..fba049be93 100644
--- a/ext/dom/php_dom.c
+++ b/ext/dom/php_dom.c
@@ -69,7 +69,6 @@ zend_class_entry *dom_xpath_class_entry;
zend_class_entry *dom_namespace_node_class_entry;
zend_object_handlers dom_object_handlers;
-zend_object_handlers dom_ze1_object_handlers;
static HashTable classes;
@@ -451,13 +450,6 @@ zend_object_value dom_objects_store_clone_obj(zval *zobject TSRMLS_DC)
return retval;
}
-zend_object_value dom_objects_ze1_clone_obj(zval *zobject TSRMLS_DC)
-{
- php_error(E_ERROR, "Cannot clone object of class %s due to 'zend.ze1_compatibility_mode'", Z_OBJCE_P(zobject)->name);
- /* Return zobject->value.obj just to satisfy compiler */
- return zobject->value.obj;
-}
-
static zend_function_entry dom_functions[] = {
PHP_FE(dom_import_simplexml, NULL)
{NULL, NULL, NULL}
@@ -503,13 +495,6 @@ PHP_MINIT_FUNCTION(dom)
dom_object_handlers.clone_obj = dom_objects_store_clone_obj;
dom_object_handlers.has_property = dom_property_exists;
- memcpy(&dom_ze1_object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
- dom_ze1_object_handlers.read_property = dom_read_property;
- dom_ze1_object_handlers.write_property = dom_write_property;
- dom_object_handlers.get_property_ptr_ptr = dom_get_property_ptr_ptr;
- dom_ze1_object_handlers.clone_obj = dom_objects_ze1_clone_obj;
- dom_ze1_object_handlers.has_property = dom_property_exists;
-
zend_hash_init(&classes, 0, NULL, NULL, 1);
INIT_CLASS_ENTRY(ce, "DOMException", php_dom_domexception_class_functions);