diff options
| author | Xinchen Hui <laruence@gmail.com> | 2014-02-28 12:59:51 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@gmail.com> | 2014-02-28 12:59:51 +0800 |
| commit | 8ced4f0ac906fd9a28b968801487630326c45bc8 (patch) | |
| tree | 0b3ebc3981bc9ee6c92e6cc549430f4959d2611d /ext/reflection/php_reflection.c | |
| parent | 4318e57604b6b54039805285707842baedb47aac (diff) | |
| download | php-git-8ced4f0ac906fd9a28b968801487630326c45bc8.tar.gz | |
Move zend_objects_store_put out of zend_object_std_init
Diffstat (limited to 'ext/reflection/php_reflection.c')
| -rw-r--r-- | ext/reflection/php_reflection.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c index e82e13248e..075a642f6d 100644 --- a/ext/reflection/php_reflection.c +++ b/ext/reflection/php_reflection.c @@ -325,6 +325,7 @@ static zend_object *reflection_objects_new(zend_class_entry *class_type TSRMLS_D intern->zo.ce = class_type; zend_object_std_init(&intern->zo, class_type TSRMLS_CC); + zend_objects_store_put(&intern->zo TSRMLS_CC); object_properties_init(&intern->zo, class_type); intern->zo.handlers = &reflection_object_handlers; return (zend_object*)intern; |
