$ 0 0 $testarr = ['t1' => 'sss1','t2' => 'sss2']; dump($testarr); dump((object)$testarr); echo $testarr['t1']; echo ((object)$testarr)->t1;