Skip to content

Commit 8a2208a

Browse files
committed
Merge branch 'PHP-5.5'
2 parents 782f4ac + c4f2a20 commit 8a2208a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4936,7 +4936,7 @@ void zend_do_begin_class_declaration(const znode *class_token, znode *class_name
49364936
tmp.u.constant = *CG(current_namespace);
49374937
zval_copy_ctor(&tmp.u.constant);
49384938
zend_do_build_namespace_name(&tmp, &tmp, class_name TSRMLS_CC);
4939-
class_name = &tmp;
4939+
*class_name = tmp;
49404940
efree(lcname);
49414941
lcname = zend_str_tolower_dup(Z_STRVAL(class_name->u.constant), Z_STRLEN(class_name->u.constant));
49424942
}

0 commit comments

Comments
 (0)