/** * 实例化本程序 * @param $args = func_get_args(); * @return object of this class */ public static function getInstance($config = array(), $options = array()) { if (!isset(self::$_instance)) { self::$_instance = new self($config, $options); } return self::$_instance; }