1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 10:16:41 +02:00

restore missing ze1 compat code

This commit is contained in:
Rob Richards
2006-06-06 12:05:30 +00:00
parent e8d568ea8d
commit d6a526d66b
+5 -1
View File
@@ -1848,7 +1848,11 @@ php_sxe_register_object(php_sxe_object *intern TSRMLS_DC)
zend_object_value rv;
rv.handle = zend_objects_store_put(intern, sxe_object_dtor, (zend_objects_free_object_storage_t)sxe_object_free_storage, sxe_object_clone TSRMLS_CC);
rv.handlers = (zend_object_handlers *) &sxe_object_handlers;
if (EG(ze1_compatibility_mode)) {
rv.handlers = (zend_object_handlers *) &sxe_ze1_object_handlers;
} else {
rv.handlers = (zend_object_handlers *) &sxe_object_handlers;
}
return rv;
}