summaryrefslogtreecommitdiff
path: root/zend/object.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'zend/object.cpp')
-rw-r--r--zend/object.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/zend/object.cpp b/zend/object.cpp
index 7da8339..0f6307e 100644
--- a/zend/object.cpp
+++ b/zend/object.cpp
@@ -76,13 +76,10 @@ Object::Object(zend_class_entry *entry, Base *base) : Value()
// member in the base object), this is a self-destructing object that
// will be destructed when the last reference to it has been removed,
// we already set the reference to zero
- new ObjectImpl(entry, base, 0 TSRMLS_CC);
+ new ObjectImpl(entry, base, ClassImpl::objectHandlers(entry) 0 TSRMLS_CC);
// now we can store it
operator=(Value(base));
-
- // install the object handlers
- Z_OBJVAL_P(_val).handlers = ClassImpl::objectHandlers(entry);
}
}