- implode: documentation ( source)
<?php
class A
{
public function __call( $name, array $arguments = array() )
{
echo 'Method: ' . $name . ' with arguments: ' . implode( ', ', $arguments ) . ' was called!';
}
}
$A = new A();
$A->setMainBranch();