10.02.2017, 00:28
Quote:
That error means that you have a local variable with the same name as a function, and are trying to call that function, but because of shadowing you are actually calling a variable, which you can't do.
|
PHP код:
Func(){
}
main(){
new Func;
Func();
}
E houve a tentativa de chamar a funзгo, se nгo tivesse tentando chamar a funзгo iria ter apenas um aviso alertando que existe uma variбvel global com o mesmo nome da local.
Da prуxima vez utilize o search ou o ******, pois existem milhares de tуpicos mostrando o que significa este erro.