PHP singleton pattern
芯灯
芯灯 2021-10-03 11:16:49
0
4
1097

2.png

Why does an error occur when calling a method after internal instantiation?

芯灯
芯灯

reply all(1)
耀通

if(self::$d=null) Error

if(self::$d==null) Correct

  • reply Careless
    芯灯 author 2021-10-03 17:34:08
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template