From: Dmitry Stogov Date: Thu, 25 May 2017 17:20:57 +0000 (+0300) Subject: Fixed copy-paste mistake X-Git-Tag: php-7.2.0alpha1~57^2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d32288b5bf78ad684b73479633a0bc0209a3de35;p=php Fixed copy-paste mistake --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 372fddc5f5..75ceb36a48 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3757,13 +3757,11 @@ int zend_compile_func_get_class(znode *result, zend_ast_list *args) /* {{{ */ int zend_compile_func_get_called_class(znode *result, zend_ast_list *args) /* {{{ */ { - znode arg_node; - if (args->children != 0) { return FAILURE; } - zend_emit_op_tmp(result, ZEND_GET_CALLED_CLASS, &arg_node, NULL); + zend_emit_op_tmp(result, ZEND_GET_CALLED_CLASS, NULL, NULL); return SUCCESS; } /* }}} */