public static function format($obj, $args) { return call_user_func_array('sprintf', func_get_args()); }
public function test_format() { $this->assertEquals('Hello, World!', Helper::format('Hello, %s', 'World!')); }