From: Marcus Boerger Date: Mon, 5 Jan 2004 22:45:11 +0000 (+0000) Subject: Fixed bug #26802 X-Git-Tag: php_ibase_before_split~383 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=18ea05b7461e85ca15cc4f977c828ff014baf751;p=php Fixed bug #26802 --- diff --git a/Zend/tests/bug26802.phpt b/Zend/tests/bug26802.phpt index 9681e9051e..beb06cdd73 100755 --- a/Zend/tests/bug26802.phpt +++ b/Zend/tests/bug26802.phpt @@ -1,5 +1,5 @@ --TEST-- -#26802 (Can't call static method using a variable) +Bug #26802 (Can't call static method using a variable) --FILE-- function_table, method, strlen(method)+1, (void **) &function) == FAILURE) { + efree(lcname); + zend_error(E_ERROR, "Call to undefined method %s()", function_name_strval); + } + } else { + efree(lcname); + zend_error(E_ERROR, "Call to method of undefined class %s()", function_name_strval); + } + } else { + efree(lcname); + zend_error(E_ERROR, "Call to undefined function %s()", function_name_strval); + } } efree(lcname);