PHP Creating default object from empty value Posted on 2020-03-26 Edited on 2020-12-08 12$res = NULL;$res->success = false; // Warning: Creating default object from empty value 产生原因是给一个值为 null 的变量设置属性。