- implode: documentation ( source)
<?php
class Lazy{
public function __call($method, $arguments){
$arguments = implode(', ', $arguments);
echo 'Call to '.$method.' with arguments '.$arguments.' failed';
}
}
$lazy = new Lazy();
$lazy->a('foo', 'bar');