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