summaryrefslogtreecommitdiff
path: root/zend/objectimpl.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-06-11 10:45:01 +0200
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2014-06-11 10:45:01 +0200
commitb4936cbc31c20c390d50333da5c83ff31795acf7 (patch)
tree8e25fef14825b2be5f493249ab401b0bbc05f70d /zend/objectimpl.h
parent9502a731c09593db0d3b7ad3a1d3ee90b8b44901 (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.h2
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