PHP stdClass nested properties

后端 未结 0 1565
长情又很酷
长情又很酷 2020-12-03 09:32

This used to work for me but it no longer does. What\'s the new / better methodology for this?

$myObj = new stdClass();
$myObj->foo->bar = "content         


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