diff options
author | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-06-11 10:45:01 +0200 |
---|---|---|
committer | Emiel Bruijntjes <emiel.bruijntjes@copernica.com> | 2014-06-11 10:45:01 +0200 |
commit | b4936cbc31c20c390d50333da5c83ff31795acf7 (patch) | |
tree | 8e25fef14825b2be5f493249ab401b0bbc05f70d /zend/objectimpl.h | |
parent | 9502a731c09593db0d3b7ad3a1d3ee90b8b44901 (diff) |
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)
Diffstat (limited to 'zend/objectimpl.h')
-rw-r--r-- | zend/objectimpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |