/** * 获取核心实例 * @return Core */ public static function &getInstance() { if (is_null(self::$_instance)) { self::$_instance = new Core(); } return self::$_instance; }