/** * @description Test of __fmt() shorthand */ function testfmt() { $this->assertEquals(__fmt(array('foo%s')), 'foo%s'); $this->assertEquals(__fmt(array('foo%s', 'bar')), 'foobar'); }
public static function log($msgfmg) { $arg = func_get_args(); self::__log(LOG_INFO, __fmt($arg)); }