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