Why can't I set a class array property in __construct()?

后端 未结 0 1961

When running this example, I get "Undefined variable: cfg in{...}" If I take out the $this->cfg and replace it with just $cfg, this part works. Is there somethi

相关标签:
回答
  • 消灭零回复
提交回复
热议问题