<?php $data=[(object)['id'=>1,'name'=>'christian'],(object)['id'=>2,'name'=>'frej']]; echo implode(', ',array_column((array)$data,'name'));
You have javascript disabled. You will not be able to edit any code.