com php-src: @TazeTSchnitzel rescued me from hell ...: Zend/zend_compile.c

From: Date: Mon, 07 Mar 2016 16:11:40 +0000
Subject: com php-src: @TazeTSchnitzel rescued me from hell ...: Zend/zend_compile.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-95613@lists.php.net to get a copy of this message
Commit: f7f8c1b62397c3206a82e302ddd26ebc995e5155 Author: Joe Watkins <krakjoe@php.net> Mon, 7 Mar 2016 16:11:40 +0000 Parents: 861287a33db4c737f0833a81797dcac781b1b011 Branches: typed_ref_properties Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f7f8c1b62397c3206a82e302ddd26ebc995e5155 Log: @TazeTSchnitzel rescued me from hell ... Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 61faf20..bc71fd2 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -5380,7 +5380,9 @@ void zend_compile_prop_decl(zend_ast *ast) /* {{{ */ name = zend_new_interned_string_safe(name); if (optional_type) { zend_declare_typed_property(ce, name, &value_zv, flags, doc_comment, optional_type, optional_type_name); - } else zend_declare_property_ex(ce, name, &value_zv, flags, doc_comment); + } else { + zend_declare_property_ex(ce, name, &value_zv, flags, doc_comment); + } } } /* }}} */

« previous php.cvs (#95613) next »