<?
$string = 'string';
$arrayWithOneElement = array('one');
$arrayWithTwoElements = array('one', 'two');
echo "string : ".count($string)." - ". implode(', ', $string) ."\n";
echo "array with one element : ".count($arrayWithOneElement )." - ". implode(', ', $arrayWithOneElement ) ."\n";
echo "array with 2 elements : ".count($arrayWithTwoElements )." - ". implode(', ', $arrayWithTwoElements ) ."\n";