phpã®æ¨æºã¯ã©ã¹ stdClass ã¯ä½¿ã£ã¦ã人ããããã... $std = new stdClass(); $std->a = 123; $std->b = 456; $std->c = 789; $arr = array( "a" => 123, "b" => 456, "c" => 789, ); ãªãã¦ä½ã£ã¦ãé£æ³é åã¨åãããã«ä½ãã¨ãã£ã¹ãããã ãã§é£æ³é åã«ãªãã var_dump((array)$std === $arr); bool(true) ãã ããéã¯ä¸å¯ var_dump($std === (stdClass)$arr); PHP Parse error: parse error, unexpected T_VARIABLE é£æ³é åã¨ãã¦æ±ããã®ãã stdClass ã¾ãã ArrayObject ã«ãã§ããã $arrayObj = new Array
{{#tags}}- {{label}}
{{/tags}}