<?php $array = array('foo' => 'bar', 'baz', 'bat' => 2); $arry = implode(',', array_values($array)); echo $arry;
Standard input is empty
bar,baz,2
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!