From b4936cbc31c20c390d50333da5c83ff31795acf7 Mon Sep 17 00:00:00 2001 From: Emiel Bruijntjes Date: Wed, 11 Jun 2014 10:45:01 +0200 Subject: when an object was created using Php::Object("MyClass", new MyClass()), the object handlers were not installed, which caused the magic methods not to be functional (issue #94) --- zend/objectimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zend/objectimpl.h') diff --git a/zend/objectimpl.h b/zend/objectimpl.h index f66a6ab..7f16320 100644 --- a/zend/objectimpl.h +++ b/zend/objectimpl.h @@ -66,7 +66,7 @@ public: */ ObjectImpl(zend_class_entry *entry, Base *base TSRMLS_DC) { - // allocate a mixed object (for some reason this does not have to deallocated) + // allocate a mixed object (for some reason this does not have to be deallocated) _mixed = (MixedObject *)emalloc(sizeof(MixedObject)); // copy properties to the mixed object -- cgit v1.2.3