com php-src: nothing: Zend/zend_API.c ext/opcache/zend_ persist.c

From: Date: Tue, 08 Mar 2016 08:04:19 +0000
Subject: com php-src: nothing: Zend/zend_API.c ext/opcache/zend_ persist.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95610@lists.php.net to get a copy of this message
Commit: ef2531c8e61bfe03daea92dfd5a2533bc8146d66 Author: Joe Watkins <krakjoe@php.net> Tue, 8 Mar 2016 08:04:19 +0000 Parents: 7159da698942f6d42b2fab9a79f0a453a36d04d7 Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ef2531c8e61bfe03daea92dfd5a2533bc8146d66 Log: nothing Changed paths: M Zend/zend_API.c M ext/opcache/zend_persist.c Diff: diff --git a/Zend/zend_API.c b/Zend/zend_API.c index 2450fcd..c6a3b6a2 100644 --- a/Zend/zend_API.c +++ b/Zend/zend_API.c @@ -3711,6 +3711,7 @@ ZEND_API int zend_declare_typed_property(zend_class_entry *ce, zend_string *name property_info->type = optional_type; property_info->type_name = optional_type_name ? zend_new_interned_string(optional_type_name) : NULL; + property_info->type_ce = NULL; zend_hash_update_ptr(&ce->properties_info, name, property_info); diff --git a/ext/opcache/zend_persist.c b/ext/opcache/zend_persist.c index 77174cf...d2efa13 100644 --- a/ext/opcache/zend_persist.c +++ b/ext/opcache/zend_persist.c @@ -717,6 +717,8 @@ static void zend_persist_property_info(zval *zv) if (prop->type_name) { zend_accel_store_string(prop->type_name); + + prop->type_ce = NULL; } }

« previous php.cvs (#95610) next »