Why are you explicitly setting refcount and isref here? This code should be reducible to

```
Z_TYPE_P(return_value) = IS_OBJECT;
Z_OBJVAL_P(return_value) = hashContext_create_object_handler(hashContext_ce TSRMLS_CC);
```

Or, if you want to go implicitly through object_init, then just `object_init_ex(return_value, hashContext_ce);` should do. It will automatically set `IS_OBJECT`.