diff options
| author | Xinchen Hui <laruence@gmail.com> | 2014-02-28 13:59:07 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@gmail.com> | 2014-02-28 13:59:07 +0800 |
| commit | a5ce7d526e77a7d0cce650c7b2c09a1c31ad39bb (patch) | |
| tree | b1e27e3de1c7f79ddbd25f8383e8681eac33962b /ext/date/php_date.c | |
| parent | 32311747496da82069017649590e0fec801443c2 (diff) | |
| download | php-git-a5ce7d526e77a7d0cce650c7b2c09a1c31ad39bb.tar.gz | |
Revert "Move zend_objects_store_put out of zend_object_std_init"
This reverts commit 8ced4f0ac906fd9a28b968801487630326c45bc8.
Diffstat (limited to 'ext/date/php_date.c')
| -rw-r--r-- | ext/date/php_date.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/date/php_date.c b/ext/date/php_date.c index 869d3f659b..d3426f944c 100644 --- a/ext/date/php_date.c +++ b/ext/date/php_date.c @@ -2108,7 +2108,6 @@ static inline zend_object *date_object_new_date_ex(zend_class_entry *class_type zend_object_std_init(&intern->std, class_type TSRMLS_CC); object_properties_init(&intern->std, class_type); intern->std.handlers = &date_object_handlers_date; - zend_objects_store_put(&intern->std TSRMLS_CC); return (zend_object*)intern; } @@ -2243,7 +2242,6 @@ static inline zend_object *date_object_new_timezone_ex(zend_class_entry *class_t zend_object_std_init(&intern->std, class_type TSRMLS_CC); object_properties_init(&intern->std, class_type); intern->std.handlers = &date_object_handlers_timezone; - zend_objects_store_put(&intern->std TSRMLS_CC); return (zend_object*)intern; } @@ -2335,7 +2333,6 @@ static inline zend_object *date_object_new_interval_ex(zend_class_entry *class_t zend_object_std_init(&intern->std, class_type TSRMLS_CC); object_properties_init(&intern->std, class_type); intern->std.handlers = &date_object_handlers_interval; - zend_objects_store_put(&intern->std TSRMLS_CC); return (zend_object*)intern; } @@ -2417,7 +2414,6 @@ static inline zend_object *date_object_new_period_ex(zend_class_entry *class_typ object_properties_init(&intern->std, class_type); //??? date_object_free_storage_period, NULL TSRMLS_CC); intern->std.handlers = &date_object_handlers_period; - zend_objects_store_put(&intern->std TSRMLS_CC); return (zend_object*)intern; } |
