Skip to content

Commit aff5d08

Browse files
committed
Merge branch 'PHP-5.3' into PHP-5.4
2 parents 5894aa0 + c3e6de2 commit aff5d08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4798,7 +4798,7 @@ void zend_do_begin_class_declaration(const znode *class_token, znode *class_name
47984798
tmp.u.constant = *CG(current_namespace);
47994799
zval_copy_ctor(&tmp.u.constant);
48004800
zend_do_build_namespace_name(&tmp, &tmp, class_name TSRMLS_CC);
4801-
class_name = &tmp;
4801+
*class_name = tmp;
48024802
efree(lcname);
48034803
lcname = zend_str_tolower_dup(Z_STRVAL(class_name->u.constant), Z_STRLEN(class_name->u.constant));
48044804
}

0 commit comments

Comments
 (0)