Created
October 2, 2014 09:07
-
-
Save nikita2206/8c8cee8c88f0ce4832e3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c | |
index 19185df..a4440d9 100644 | |
--- a/Zend/zend_compile.c | |
+++ b/Zend/zend_compile.c | |
@@ -4120,6 +4120,7 @@ static int zend_traits_copy_functions(zend_function *fn TSRMLS_DC, int num_args, | |
&& alias->trait_method->mname_len == fnname_len | |
&& (zend_binary_strcasecmp(alias->trait_method->method_name, alias->trait_method->mname_len, hash_key->arKey, fnname_len) == 0)) { | |
fn_copy = *fn; | |
+ fn_copy.common.function_name = alias->alias; | |
/* if it is 0, no modifieres has been changed */ | |
if (alias->modifiers) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment