📜  创建一个对象 php 代码示例

📅  最后修改于: 2022-03-11 14:53:48.695000             🧑  作者: Mango

代码示例2
//object init
  $object = (object) [
    'propertyOne' => 'foo',
    'propertyTwo' => 42,
  ];