<?php $data[2]=array(array('name'=>'bob'),array('name'=>'bill')); echo implode (',',array_column($data[2], 'name'));
Standard input is empty
bob,bill
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!